Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
app.run(host='0.0.0.0') will make Flask listen on port 80 on all IP addresses you have on your computer. The visibility of the site to the Internet depends on the configuration of your network and the services provided by your ISP.
If the laptop is connected to a router, then you need to configure port forwarding of the 80th port to the laptop on the router. In addition, make sure that the provider provides you with a "white" IP address (usually this is an additional service).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question