3 個答案
- 最新
- 最多得票
- 最多評論
1
Can you try the points below:
- Check your internet gateway(IGW)
- Is your IGW attached to the right VPC
- Check your route table (is the host in question in the right subnet)
- Check your network ACL (remember it's not stageful as SG - traffic must be allowed on both directions)
- With the Source as IGW & Destination host (port 22), run the Reachability Analyzer and share the result.
已回答 2 年前
1
Have you checked the routing of the EC2 instance ? Have you connected to the Internet Gateway for the traffic to reach the internet and reverse ? The error clearly mentions that there is a network setting missing from the configuration.
0
Thanks guys! The reason of this problem is that I had created a new vpc , and i did not set the "0.0.0.0/0" for igw in the route table of this new vpc , so this ec2 ins can not access internet through this vpc bidirectionally
已回答 2 年前
相關內容
- 已提問 6 個月前
- 已提問 6 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 2 年前
Is your EC2 instance in a public subnet? If so, have you checked if your subnet is associated with a route table that has a route to an internet gateway)?