i am getting "This site can’t be reached" ERROR

0

While i am opening apache server on ec2 linux by opening http://172.31.32.243/ it is showing me This site can’t be reached error. I have checked security group settings, apache server is running. I dont know what is the error

Sandesh
asked 9 months ago343 views
1 Answer
2

Its IP address is a private IP address.
Try accessing the site from a browser using the EC2 public IP address.
Also make sure that the EC2 is running on a public subnet.
If you are running on a public subnet and do not have a public IP address, try setting up an Elastic IP.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html#working-with-eips

profile picture
EXPERT
answered 9 months ago
profile picture
EXPERT
reviewed 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions