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 回答
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
专家
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则