Hello I am running AWS EC2 on centos. I have installed Webspehre liberty and started it.
When I run netstat -an | grep 9080
I see
tcp 0 0 ::ffff:127.0.0.1:9080 :::* LISTEN
But when I go to my Public DNS: ec2-XX-XXX-XX-XXX.us-east2.compute.amazonaws.com:9080 in my web browser I get ERR_CONNECTION_REFUSED
In my security groups I have allowed Inbound traffic on all ports from anywhere Port: 0 - 65535 Source: 0.0.0.0/0
When I wget ec2-XX-XXX-XX-XXX.us-east2.compute.amazonaws.com:9080 on the server I get the home page downloaded onto the server, so the site is up but just not publicly accessible.
Also when I run
#service iptables status
iptables: Firewall is not running.
So the firewall is off.
What am I doing wrong?
Thank