Umair Ayub
Umair Ayub

Reputation: 21261

Cannot access Ubuntu 14.04 instance's Apache from browser - AWS

I have following Security Group attached to AWS instance.

enter image description here

I installed Apache When I try to access it from browser I see This site can’t be reached

following is some useful info to debug what is issue.

root@ip-172-31-31-29:~# netstat -atn |grep :80
tcp6       0      0 :::80                   :::*                    LISTEN

EDIT

Here is updated screenshot of the Security Group.

enter image description here

Upvotes: 0

Views: 81

Answers (1)

BryceH
BryceH

Reputation: 2798

It looks like you're allowing IPv6 traffic. Is this what you desire? I would change your security group to allow 0.0.0.0/0 for http.

If you do desire IPv6 I would start with running curl locally and see what it tells you

curl -k localhost 

From there you then should ensure IPTables is properly configured and that SELinux is properly configured.

Upvotes: 1

Related Questions