Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23390

Safari cannot connect to local URL: http://127.0.0.1:5000

$
0
0

I try to run this simple flask hello word code:

app = Flask(__name__)@app.route("/")def hello_world():    return "<p>Hello, World!</p>"

but safari doesn’t want to connect to the url given by Flask (http://127.0.0.1:5000).I'm using MAC OS M1


Viewing all articles
Browse latest Browse all 23390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>