Issue i am a newcomer to flask. Change it to run on 10.86.29.23:5000 or 0.0.0.0:5000 (wildcard) instead of 127.0.0.1:5000. By default, flask runs on localhost (127.0.0.1) and port 5000.
Outage Kitsap County
The default port for the flask application is 5000. Moreover, use the exact same address and port as the python script is reporting. I have tried many solutions but none of them worked for me.
However, you might need to change these.
So we can access our application at the below url. If you application is listening on 127.0.0.1:5000 then you can only reach it locally and through that. I'm trying to run a simple web server on a raspberry pi with flask. Make sure you do curl on the machine you are running their server script on.
When i run my flask app, it says: In this article, we will learn to change the port of a flask application. In your docker compose configuration you are mapping port 5000 on the container to port 5001 on the host. If still fails, just follow the.

Flask is a web framework for building web applications with python.
As it turns out, the address of 127.0.0.1 is used to refer to the local computer? I cannot access localhost:5000 or 127.0.0.1:5000. So to connect to the app you need to browse to.