What does “app.run(host='0.0.0.0') ” mean in Flask [duplicate]
问题 This question already has answers here : Configure Flask dev server to be visible across the network (11 answers) Closed 4 years ago . I am reading the Flask documentation. I was told that with app.run(host='0.0.0.0') , I could make the server publicly available. What does it mean ? How can I visit the server in another computer (just localhost:5000 in my own computer) ? 回答1: To answer to your second question. You can just hit the IP address of the machine that your flask app is running, e.g.