Forums

Running Ganache-cli

I have ganache-cli (a blockchain mock) running on my server listening on 127.0.0.1:8545. My app connects to this uri and interacts with ganache-cli. I had it working once, but when the system restarted I can't get it to work. I can ping 127.0.0.1 but when I run ss -ltn, it does not show that port as active.

Consoles can run on many different machines. If you were lucky and started 2 consoles that happened to be on the same machine, then that would work but, in most cases, your consoles will be on different machines and it will not work.