I'm trying to run Tomcat on an AWS Linux server. I've installed Tomcat, and tested it from the command line to make sure it's working, but I can't access it from another machine. The details:
Yet if I try to access it via my browser (outside the actual server) using the public DNS I get "could not connect".
Any ideas?
Thanks...
OK, the problem turned out to be that I also needed to edit and restart iptables, as explained here: http://cyberciti.biz/faq/howto-rhel-linux-open-port-using-iptables
Adding what is not mentioned in above answers.
For me, allowing TCP over 8080
was missing.
So, I have created new Inbound rule with following details:
This worked for me. Hope it may help someone. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With