I have an Amazon Web Services EC2 instance with a Windows Server 2012 AMI on it. I have installed XAMPP on it, and have started the apache server from the XAMPP Control Panel. It starts successfully.
Also in the AWS Dashboard, I have added rules to the relevant Security Group for the Instance, as detailed in linked image (I don't have enough reputation yet to post an image):
I have replaced the actual source ip setting for the inbound traffic with xxx.xxx.xxx.xxx/32
in this image, but it is set to the ip from which I am trying to establish the http connection, so I am not sure why I am unable to establish an http connection? I have also tried allowing inbound HTTP traffic via port 80 from all sources, by specifying ip 0.0.0.0/0
, same problem.
I am trying to establish the http connection via my browser, simply by using the AWS instance public dns/ip, e.g.
http://myAWSinstancedns.compute.amazonaws.com
or
http://myAWSinstancedns.compute.amazonaws.com/xampp/splash.php
When try the same thing from within the AWS instance, using localhost, it works, but not from outside.
Anyone any idea?