WSL: Failed to establish a new connection: [Errno 111] Connection refused #1490
-
I'm trying to print out a transaction which is located on 4:00 mark of the YouTube video. My code:
The error:
I've spent some time trying to figure it out already. Some discussion says that it can be linked to activity of an antivirus of a firewall. Test with paused protection returned the same results. Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I've figured out that the problem might be with ganache.
|
Beta Was this translation helpful? Give feedback.
-
Problem is solved. If you are a WSL user, make sure that Ganache is up and running in the WSL by typing in terminal
Once it is launched use Chain Id and RPC Listening on:..... in your code of deploy.py |
Beta Was this translation helpful? Give feedback.
Problem is solved. If you are a WSL user, make sure that Ganache is up and running in the WSL by typing in terminal
Once it is launched use Chain Id and RPC Listening on:..... in your code of deploy.py