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: http://127.0.0.1:80 (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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You’re binding it to localhost, why do you expect it to be viewable using the IP address?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.