No public visible flask app on centos 7/8
Hi there!
I've try to deploy flask app with steps from getting start, but can't get it to work outside.
I've even tried simple hello app with no firewall, no nginx, only bare flask and host--0.0.0.0 and no luck, although i can see flask server running.
Is there anything else i should do on centos to make it work?
thank you
3 Replies
Sure,
https://www.linode.com/docs/getting-started/. - that's for setting up server and SSH connection.
https://www.linode.com/docs/security/securing-your-server/. - this for securing.
But even without ufw or with ufw enabled and 5000 port opened I can't make flask app apear outside server. Running with host=0.0.0.0 and going serverIP:5000 in browser says timeout, although I can see server running 0.0.0.0:5000 on console.