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 年前檢視次數 1813 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南