blockchainethereumtruffleappxganache

Can not connect to Truffle or testrpc with Ganache GUI


I have Ganache GUI from appx from official website on my Windows 10. When I run Truffle or testrpc network in my console (WSL) and try to connect there from Ganache GUI in settings, I get error message next to the textbox with a port:

The port is used by another application; please change it

enter image description here

the port is from Truffle or testrpc. How can I connect there? Thank you.


Solution

  • Ganache UI runs an instance of Ganache CLI (i.e. simulated Ethereum instance previously called TestRPC). If you already have a console window open with an application on port 9545 then Ganache UI cannot start a new instance on that same port.