By using AWS re:Post, you agree to the Terms of Use

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

asked 2 years ago28 views
1 Answer
0

I had fooloshly applied a Security Group which only allowed SSH from my own IP address --- and then my ISP changed it. Changing the security group solved the problem.

answered 2 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