i cannot connect to my EC2 instance - Failed to connect to your instance Error establishing SSH connection to your instance. Try again later.

0

Failed to connect to your instance
Error establishing SSH connection to your instance. Try again later.

I can no longer connect to my ec2 instance, I accidentally closed the chrome tab when connected to the ec2 instance via instance connect and I can no longer connect.

I have the right security groups and inbound rules set up. Port 20 is open. the vpc and subnets are set up correctly.

1 Answer
0

It is explained that port 20 is open in the security group, but the default port for SSH is port 22.
Try setting up port 22 before connecting.

Also, please review the following documents as they may be helpful in troubleshooting.
https://repost.aws/knowledge-center/ec2-instance-connect-troubleshooting

profile picture
EXPERT
answered a year ago
profile picture
EXPERT
reviewed 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions