Lost connection to EC2 instance

0

Can anyone tell me how to fix this?
Instance i-0c2471f7af8dd9d44 is running (and serving web pages via http on port 8080) but has stopped connecting via ssh - either through the browser console or via putty (console just says there was a problem, and putty times out before checking any credentials or anything)
============ PuTTY log 2020.12.17 01:12:40 ============
Event Log: Looking up host "52.89.137.160" for SSH connection
Event Log: Connecting to 52.89.137.160 port 22
Event Log: We claim version: SSH-2.0-PuTTY_Release_0.74
Outgoing raw data at 2020-12-17 01:12:40
00000000 53 53 48 2d 32 2e 30 2d 50 75 54 54 59 5f 52 65 SSH-2.0-PuTTY_Re
00000010 6c 65 61 73 65 5f 30 2e 37 34 0d 0a lease_0.74..
Event Log: Failed to connect to 52.89.137.160: Network error: Connection timed out
Event Log: Network error: Connection timed out

alqpr
asked 3 years ago300 views
1 Answer
0

Hello,

I can see that this has been marked as answered. It would appear that the issue has since resolved. As doing a test to port 22 I am not getting a timeout from my test instance.

ec2-user@$ nc -vz 52.89.137.160 22
Connection to 52.89.137.160 22 port tcp/ssh succeeded!

Edited by: aws-chrisa on Dec 21, 2020 2:52 AM

answered 3 years 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