首页 > 技术文章 > 使用docker部署flask遇到的问题

chenqionghe 2018-07-20 20:23 原文

容器内能访问,但是外网映射了端口怎么也访问不了

解决方法:

app.run() 添加参数host='0.0.0.0'

推荐阅读