2 Answers
- Newest
- Most votes
- Most comments
0
Hi, you can face such an error when your instance is private and the subnet of your instance is a public network. instance --> private(no public IP enabled) subnet --> public Solution: Make it the same, either privately or publicly.
answered 4 months ago
-1
Hi,
This seems to be a DNS error: your EC2 instance cannot access DNS servers to the resolve the name in questions to IP addresses.
2 possible main causes:
- security group(s) or network ACLs barring access to DNS service (UDP 53)
- internet access to reach the DNS servers not possible: so, either a routing table, a NAT (+ Internet) gateway missing in your VPC.
Please, check those elements!
Best,
Didier
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 3 months ago
I am not a network wizard. I have no idea how to check this or fix it.