
I currently have the following settings on the default security group which my instance is a part of.
However, I can't browse the site. The response from the browser(Firefox) is "Firefox can't establish a connection to the server at ec2-50-16-10-32.compute-1.amazonaws.com."
Update#1:
No output from netstat -pant | grep :80
Output from iptables -nvL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Update#2:
Output of ps -ef | grep nginx
root 1080 1 0 01:22 ? 00:00:00 nginx: master process /opt/nginx/sbin/nginx
nobody 1082 1080 0 01:22 ? 00:00:00 nginx: worker process
nobody 1083 1080 0 01:22 ? 00:00:01 nginx: worker process
nobody 1084 1080 0 01:22 ? 00:00:01 nginx: worker process
nobody 1085 1080 0 01:22 ? 00:00:01 nginx: worker process
ubuntu 4001 3983 0 18:57 pts/1 00:00:00 grep --color=auto nginx
root 2601 842 0 06:52 pts/0 00:00:00 grep nginx
No output for netstat -pant | grep nginx
netstat -pant | grep :80- if you see no entries then nothing is listening on port 80; if you see127.0.0.1:80then your web server is listening on the loopback interface and not the public interface (0.0.0.0:80or10.x.x.x:80(private IP) should be fine). Depending on what operating system you are running, look at the operating system firewall (e.g.iptables -nvL) (Update your answer with the output from those commands if needed). – cyberx86 May 9 '12 at 5:01