Can't connect to Flask web service, connection refused

前端 未结 7 2152
Happy的楠姐
Happy的楠姐 2020-12-08 18:06

I\'m trying to run a simple web server on a Raspberry Pi with Flask. When I run my Flask app, it says:

running on http://127.0.0.1:5000/

7条回答
  •  既然无缘
    2020-12-08 18:38

    A reason could also be in firewall refusing incoming connections on port 5000. Try:

    sudo ufw allow 5000
    

提交回复
热议问题