Reputation: 102
Flask server not visible from local network, I have done the app.run(host="0.0.0.0") but still wathever is not my local machine is not able to see it.
* Serving Flask app "MainBot" (lazy loading)
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
* Debug mode: on
* Restarting with stat
* Debugger is active!
* Debugger PIN:
* Running on http://0.0.0.0:5005/ (Press CTRL+C to quit)
Also when I run netstats -q
in my windows machine I can see a process listening to a port:
TCP 0.0.0.0:5005 SOMETHING LISTENING
Seems to be an issue with the network. Even creating a simple HTTP server in my pc does not let any external traffic to reach.But It works if I switch the receiver and requestor (making my local send a request to another pc in my network with a HTTP Server)
Upvotes: 1
Views: 1403
Reputation: 102
Problem was the network firewall, some directioning rules that were fixed once we change some configurations in the firewall
Upvotes: 1