1 Answer
- Newest
- Most votes
- Most comments
0
It seems to be connection issue and firewall might be blocking it. Can you please make sure of following:
- Network access control list (network ACL) associated with the instance's subnet has rules allowing both outbound and inbound traffic to the internet.
- Route table that's associated with your instance’s subnet has a default route to an internet gateway (0.0.0.0/0).
- Internet gateway exists and is associated with the route
- Security group attached to the instance’s elastic network interface has rules allowing outbound internet traffic (0.0.0.0/0) for required ports and protocols. Also make sure, inbound rule of the security group allows traffic for required protocl and ports
Also make sure, if the instance is in a public subnet then it has public ip address, as otherwise it won't be accessible outside the virtual private cloud (VPC) in which it resides.
If none of this helps, then please go through this re:Post Knowledge Center Article, this would certainly help you.
Hope you find this useful.
Abhishek
Do you have additional questions, happy to help.