Configure Flask dev server to be visible across the network

前端 未结 14 2418
面向向阳花
面向向阳花 2020-11-21 05:57

I\'m not sure if this is Flask specific, but when I run an app in dev mode (http://localhost:5000), I cannot access it from other machines on the network (with

14条回答
  •  情书的邮戳
    2020-11-21 06:42

    I had the same problem, I use PyCharm as an editor and when I created the project, PyCharm created a Flask Server. What I did was create a server with Python in the following way;

    basically what I did was create a new server but flask if not python

    I hope it helps you

提交回复
热议问题