Tomcat7 on digital ocean, started but not accessible from browser
I just installed tomcat7 in Digital Ocean (ubuntu 12) via this article https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-on-ubuntu-12-04 everything seems to be correct installed, tomcat7 is already running, but I don't know why it doesn't work and is not accessible from the browser using myipaddress: 8080. any help is greatly appreciated. thank
source to share
It looks like you are using a Linux distribution (like CentOS) which blocks 8080 (or more ports) in firewall rules by default. You can test this by running iptables-save
and see if there are rules blocking any port.
If this case holds
sudo iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
to unlock 8080.
source to share