1 Answer
- Newest
- Most votes
- Most comments
2
Did you check if one of security group attached your EC2 instance allows TCP port 22 to your IP or All Traffic.
Is your instance is deployed in public subnet, could you please make sure that the subnet has internet gateway attached to it's route table, otherwise resources inside that subnet can't reach to internet and hence that subnet is not public. Please double check the routes.
AWS Documentation covers almost all the possible causes, which could prevent accessing the instance.
Hope you find this information helpful.
Comment here if you have additional questions.
Abhishek
Relevant content
- asked 6 years ago
- asked 8 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
Sorry for the trouble problem was with my modem which I am using for internet connection. I don't know how but it doesn't allow particular addresses to be connected. When I try to connect using IP it doesn't allow. Then I tried contacting using different ISP then it got connected and I can also access my site.