Saturday, August 10, 2019

amazon web services - Cannot access AWS instance using Public IP or Elastic IP



I have created an AWS EC2 instance and associated an Elastic IP with it. Also ensured that the security group associated with the instance allows requests from my IP. But even then when I try to access the instance via its Public IP or Elastic IP, I am unable to get a response.



The page just times out or the browser says it could not find the server. Pining the IP from Network utility gives a time out as well.




Can someone please let me know what I am missing?



I can do an SSH to the instance without any issues.



Thanks for any help!


Answer



You tried hitting the server locally from the instance itself using wget localhost? Sounds like the web server isn't even running.


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...