lesson 5: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.7.1) #2715
-
I want to connect to ganache and I get an error that I don't know how to solve it. here is my deploy.js code which is script node.js What am I doing wrong? someone help me ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hey @MBabattya please make sure your rpc-url is correct. I see you have two of them. either use the normal one from ganache (definitely |
Beta Was this translation helpful? Give feedback.
-
You can also try changing your server hostname to 0.0.0.0 on ganache UI, |
Beta Was this translation helpful? Give feedback.
-
This is the best solution which i find out after searching from 2 days ❤️😊 love your answer |
Beta Was this translation helpful? Give feedback.
Hey @MBabattya please make sure your rpc-url is correct. I see you have two of them. either use the normal one from ganache (definitely
127.0.0.1:7545
) Double check the second one that you have and see if it is correct.