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

Could you link a guide to show us what you’re trying to do?

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.

I don't know what extra needs to be done to deploy that flask app on centos on LINODE but there's no problem with ubuntu- working fine.
Has any of you guys experienced that situation before, as I really'd like to come back to centos,
thanks

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct