Nginx is not being served on EC2 instance Public IP

0

I have installed nginx on ec2 instance and added in bound security rules for port 80, 22 and 443 but when I try to browse the public IP I got "This site can’t be reached" error but curl localhost is giving response in terminal. I have tried to change the region from US East (N. Virginia) to Asia Pacific (Mumbai) as well but it didn't help me out. I have registered in aws for the very first time and using free tier. Looking forward for the help. Thank you

1 réponse
0

Is there a route to the internet gateway on the subnet where the EC2 is located?
Do the subnet's network ACLs allow the required communication?
Does the security group allow the required IP addresses with inbound rules?

For additional troubleshooting, check the following documents.
https://repost.aws/knowledge-center/ec2-instance-hosting-unresponsive-website

profile picture
EXPERT
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions