启动flask服务:flask run -h 0.0.0.0 -p 5000

flask run -h 0.0.0.0 -p 5000

这样公网才能访问!!!

原文地址:https://www.cnblogs.com/pythonwl/p/14036105.html