更新时间:2023-10-14 11:21:34
问题不是来自Flask,
The problem is not from Flask,
app.run(host='0.0.0.0')
中指定的IP必须由您的服务器拥有.
The IP specified in app.run(host='0.0.0.0')
must be owned by your server.
如果要在远程服务器上启动Flask,请使用SSH在该服务器上部署代码,然后使用远程会话运行它.
If you want to launch Flask on remote server, deploy the code on that server using SSH and run it using a remote session.