【发布时间】:2020-08-11 12:16:00
【问题描述】:
【问题讨论】:
-
您的应用在哪个端口运行?
-
如果 name == "main": app.run(host='0.0.0.0', debug=True, port=8080)
-
默认 potr 是 8000 或 5000。你有没有调整你的 eb 使用非默认端口?
-
我没有配置eb但是我把端口改成了8000 if name == 'main': httpd = make_server('' , 8000, application) print("Serving on port 8000...") httpd.serve_forever()
-
同样是502错误
标签: python amazon-web-services http flask