New Droplet not finding flask server

I’m trying to deploy a flask app on a droplet (CENTOS) Python 2.5 I’m running into issues viewing from the ipaddress.

(tweet) [root@greetme-centos-512mb-nyc3-01 webapp]# gunicorn app:app -b localhost:80 [2016-12-25 21:11:03 +0000] [22798] [INFO] Starting gunicorn 19.6.0 [2016-12-25 21:11:03 +0000] [22798] [INFO] Listening at: (22798) [2016-12-25 21:11:03 +0000] [22798] [INFO] Using worker: sync [2016-12-25 21:11:03 +0000] [22803] [INFO] Booting worker with pid: 22803

Pinging the ipaddress public facing works.

And I added port 80 to the IPTables.

Any suggestions for getting this to work would be helpful. Thanks.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You’re binding it to localhost, why do you expect it to be viewable using the IP address?