python - Flask cloud deployment, gunicorn runs successfully, but cannot be accessed through the external network port
阿神
阿神 2017-07-04 13:44:34
0
1
1368

1. When gunicorn deploys the website, it directly accesses the port and shows that the operation is successful (nginx has not been configured yet), but when accessing through the external network port, it cannot be accessed
2.

3.

4. I am running python myapp.py runserver--host 0.0.0.0 --port 8080 under local ubuntu. It runs successfully and can be accessed normally through the browser.
But when I ssh@root the cloud server , the same program, python myapp.py runserver --host 0.0.0.0 --port 8080, also runs successfully, but I cannot access it through the external network address 101.200.52.53:8080
5.

阿神
阿神

闭关修行中......

reply all(1)
黄舟

Check if the firewall is turned on

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template