Can not connect to server running on Amazon Cloud

I have an AWS EC2 instance running a 3rd party web server.  I can connect to the web server locally when connected via RDP.  It is running on port 8081.

After following the instructions to allow http traffic over that port i am still unable to see the web server over the web.

My instance is tied to a premade security group which allows traffic for http (80), MS SQL (1433) and RDP (3389).  I am able to connect to the machine via rdp with no issue.  I do not have any web server running on port 80 or SQL instance to test those.

I added a custom TCP rule for port 8081 to allow traffic from everywhere but still no success.

so essentially

http://localhost:8081 works fine
http://public IP:8081 does not work

Any ideas?

Thx
GL
gdinunzioAsked:
Who is Participating?
 
shalomcCTOCommented:
fire up another EC2 instance in the same region, and see if you can connect from it to the web server via the local 10.* address.
0
 
MPJHornerCommented:
Has to be another firewall in the way.
Only possibly reason, do they give you another Firewall? do they not allow traffic on that port?

Have you checked the permissions on the files are available to all other that a local user?
0
 
shalomcCTOCommented:
Allow egress 8081 in the windows firewall.
There are always issues with the built in windows fw and non-microsoft services :)
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
gdinunzioAuthor Commented:
There is a rule allowing incoming traffic on port 8081.  No change
0
 
David Johnson, CD, MVPOwnerCommented:
Are you following the instructions presented @ http://cloud-computing.learningtree.com/2010/09/24/understanding-amazon-ec2-security-groups-and-firewalls/

My instance is tied to a premade security group which allows traffic for http (80), MS SQL (1433) and RDP (3389).  I am able to connect to the machine via rdp with no issue.

in the source ip of 0.0.0.0/0  did you remember the /0 ?

did you change the port in both places in the apache.config ? There are 2 locations.
0
 
gdinunzioAuthor Commented:
The security group looks correct.  The file is attached.
The instance is windows not linux.
0
 
gdinunzioAuthor Commented:
The file should be attached.
0
 
David Johnson, CD, MVPOwnerCommented:
There is a rule allowing incoming traffic on port 8081.  No change

You have to modify 2 rules.. the ec2 configuration firewall AND the windows firewall
0
 
gdinunzioAuthor Commented:
Both have been modified.  8081 on the EC2 security group is set to allow incoming traffic from all ip addresses and the windows firewall has been disabled.
0
 
shalomcCTOCommented:
fire up another EC2 instance in the same region, and see if you can connect from it to the web server via the local 10.* address.
0
 
gdinunzioAuthor Commented:
Another EC2 instance worked correctly.  Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.