Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Cannot access port 8080
I am trying to enable reverse proxying as detailed int this tutorial:
When I use curl to access the mini Flask app created in this tutorial on port 8080, I can do it perfectly fine with curl http://127.0.0.1:8080. However, if I use http://mydomain.com:8080, I get a connection refused error.
I have tried disabling ufw with sudo ufw disable. I’ve disabled iptables. I have no firewall running from the web-based control panel. If I run netstat -plan, I can see that 127.0.0.1:8080 is marked as “LISTEN”.
If I use nmap -sS -O 127.0.0.1, I can see that port 8080 is my proxy. However, if I use nmap -sS -O mydomain.com, I do not see 8080 at all.
What am I missing? How do I open 8080?
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.×