Metamask & Remix


I'm trying to test my contract.

When I compile everything works, no errors.

When I go to run and deploy I select Inject Web3, I type in my Metamask password and I come to a problem under Inject Web3 I'm getting (Main (1) network) and Metamask is not connecting.

Am I doing something wrong?

I have Binance Testnet connected to my Metamask with 0.2BNB.

first login to your metamask, then refresh remix page, then select proper network, and proper contract title.

As per your metamask network, change router in your .sol file.

hope this will resolve your issue.