How to connect metmask to genach-GUI having port : 7545 instead of 8545 .

Only network localhost :8545 is available on metamask

Is it done through custom RPC network ?
If yes, then how should I proceed ?


It's simple ,

metmask -> networks -> Custom RPC

network Name : MyNetwork ,
New RPC URL : ( 7545 is my ganache port number )

Now you are connected to ganache-GUI


In recent versions of Metamask, you will also need to provide a chain-id. BY default, this is set to 1337. So, specify RPC URL as http://localhost:7545 and then enter the chain ID.

Setup Ganache with Metamask. What and where is a Chain ID?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.