Hello I'm running a web application on port 8000. When I access it from the host server localhost:8000 it responds ok, 127.0.0.1:8000 also works, but 192.168.1.7:8000 does not work. 192.168.1.7 is the ip of my server.
Also if i try to go to another web application running on port 80 it works 192.168.1.7
I enabled ufw firewall and set ufw default allow. I am using ubuntu server 12.04
Any suggestions on why I can't get to my app on port 8000 using the ip-address:8000?
Thanks in advance!
netstat -tln | grep 8000
might cast some light on the problem. If the server's local address is127.0.0.1:8000
rather than0.0.0.0:8000
, then it will only be reachable via the loopback interface.