I'm using Amazon EC2 micro instance with Ubuntu 11.04 on it (official AMI by Canonical). I have created a new security group for this instance:
Inbound:
22 (SSH) 0.0.0.0/0
80 (HTTP) 0.0.0.0/0
443 (HTTPS) 0.0.0.0/0
3306 (MYSQL) 0.0.0.0/0
8080 (HTTP*) 0.0.0.0/0
27017 0.0.0.0/0
27018 0.0.0.0/0
27019 0.0.0.0/0
28017 0.0.0.0/0
But when I start the web server on 8080 and try to open http://ec2-ip-address:8080/ in my browser it says
Server Not Found
… with the standard Google Chrome page.
netstat -anltp | grep "LISTEN"
says that my only port listened at is 22.
How can I open the listed ports so I can start my web projects?
EDIT: The solution has been found. All you need is to start server at 0.0.0.0 IP address, not 127.0.0.1 or localhost.