Friday, February 1, 2019

windows - Can't access site on EC2 instance via public ip

I have Amazon EC2 micro instance with window 2008 server and deployed one sample web application over there which uses java and deployed on tomcat 7 server. I am able to access it locally on instance, but when I tried to access it outside of AWS instance lets say from my home computer using AWS public DNS / public IP address/ Elastic IP address of the instance, it gives me "Web page is not available".



I have gone through so many similar questions in this forum and i think i have done all the setting they are asking to do, but still no success.



Here is what I have done/confirmed.



1. localhost works, so application listens on port 80.




2. added inbound rule for HTTP on port 80 for everyone under the security group that my instance is using.



3. checked firewall setting on windows instance, made sure port 80 is not blocked.



4. tried even with turn off firewall, but no success.



I would really appreciate if some one can help me on this.



Thanks,
NS

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...