I’ve seen this question asked a million times before, but I’ve never seen a satisfactory answer. “All ports are open by default.” is not helpful.
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
lsof -i :5000 yields
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME python 11824 root 3u IPv4 10213572 0t0 TCP localhost:5000 (LISTEN)
But it doesn’t work. I have this working on localhost, but it just won’t work over the internet.
http://www.yougetsignal.com/tools/open-ports/ shows that the port is closed.
Does anyone have any advice?
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!