The Flask server is up and running on my laptop (Ubuntu), with debugger ON:
(venv) deeman@carbon:~/flask_dir/venv/dox$ flask --app hello_w run
* Serving Flask app 'hello_w'
* Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
Press CTRL+C to quit
* Restarting with stat
* Debugger is active!
* Debugger PIN: 130-661-482
Bellow is the basic server page in python
app = Flask(__name__)
@app.route("/")
@app.route("/hello")
def hello_world():
return "<p>Hello, World!</p>"
@app.route("/test")
def hello_world2():
return "<p>Test works!</p>"
if __name__ == "__main__":
app.debug = True
app.run(host="0.0.0.0", port = 5000)
On any other devices connected to the same Wifi network I get Can't connect to Server
or Site can't be reached
What am I missing? Can someone help me understand issue? Thanks