- Newest
- Most votes
- Most comments
From timeout error it look like there is some issue with network config or firewall.
Can you check the 22 port is filtered?
$ nmap <SERVER IP> -Pn -p 80
If it is filtered check the firewall settings https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-editing-firewall-rules
Hi Folks
Where is the Amazon official Support, its been 2 days my website down.
Should I left this platform
Thanks
Hi there,
Thanks for you're response , I have checked with your above given method screenshot is attached, yes the port is filtered
still I'm unable to get connect with Lightsail instance
kindly provide complete solutions
thnaks Amir Ali
Hi there,
Thanks for you're response , I have checked with your above given method screenshot is attached, yes the port is filtered
still I'm unable to get connect with Lightsail instance
kindly provide complete solutions
thnaks Amir Ali
I am facing the same issue, after creating multiple instances in lightsails, after using it for 30min to 2hrs, my ssh automatically gets shutdown & if I again try to connect, it always says "Opertaion timeout"
Looks like there is some issue in Lightsail Ubuntu instances.
Even if I try clicking on "connect using SSH" button on instance, a popup opens, but we cannot do anything, as nothing shows up or even cannot type anything.
Finally Figured out the issue, by creating another instance & was trying to replicate my issue that is: "ssh: connect to host x.x.x.x port 22: Operation timed out". on my lightsail instance.
Why I am unable to connect to the instance via SSH is that I did turn on the UFW in my ubuntu instance by typing sudo ufw enable
, that is the main mistake I made, after doing this when I tried to connect my instance again via same steps, I was unable to connect.
The solution is, whenever we turn on the ufw, we must allow ufw with port 22, by running the command sudo ufw allow 22
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
Hi there,
Thanks for you're response , I have checked with your above given method screenshot is attached, yes the port is filtered
still I'm unable to get connect with Lightsail instance
kindly provide complete solutions
thnaks Amir Ali