docker容器flaskweb服务

1.需要有空闲映射窗口

https://blog.csdn.net/MissShihong/article/details/103313396?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-1

2. app.run(host='0.0.0.0', port = xxxx, debug=True)

若要外部访问,则host必须0.0.0.0

你可能感兴趣的:(Python,Linux)