Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dial tcp 127.0.0.1:5000: connect: connection refused

I have hosted a flask web application and when I try to open it from the Firefox browser it says "dial TCP 127.0.0.1:5000: connect: connection refused". But when I try to open the URI in chrome it works fine. What could be the possible reason?

like image 536
Rakesh Paruchuri Avatar asked Oct 20 '25 16:10

Rakesh Paruchuri


1 Answers

You must be using VPN in your browser. That's why you are unable to access app with localhost.

Try disconnecting the VPN.

like image 188
Rajat Gupta Avatar answered Oct 24 '25 01:10

Rajat Gupta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!