can't connect through SSh to my droplet, can't access website hosted on droplet

April 1, 2016 2.3k views
DigitalOcean LAMP Stack Ubuntu

Hello guys!

I've been using this droplet for about 3-4 months, and today all of a sudden I can't connect through SSH, it just times out. I try to visit the wordpress website hosted on it, it times out, tried accessing the web console, it worked, tried connecting to localhost through ssh from web console and it worked, I also tried pinging its IP address ( 178.62.122.215 ) from my PC and I got this

--- 178.62.122.215 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3024ms

I don't know what to do, any ideas? any information I need to provide so you can help me?

Thanks

11 Answers

Same here. Droplet seems to work fine, but I can't login via ssh nor can I access website.

I got the same issue, can somebody help? thanks!

same issue here. Can't access via SSH neither ping it or anything...The only thing that works is the console within D.O.'s control panel. Can someone help?

Are there any answers for this? I've just experienced a similar issue and after I logged in using the web console it was suddenly working.

Same here. Someone has fixed it?

Same sht here... Anyone??? mb it's time to say goodbye to DO, as this happens 2nd tima and a new droplet creation helps here

would someone post a follow up for the love of god?!?! I have the same issue here and I imagine it must have been resolved for at least one of the people above me in this thread.... I opened a ticket and I'll let you know what they say.

I have the same issue. Can't ssh into my droplet.

I am about ready to cancel my DO service

Seems like it is a firewall issue.

I disabled the iptables firewall using the Flush All, Delete All Chains & Accept section of the tutorial below, and that did the trick for me:

sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT

sudo iptables -t nat -F
sudo iptables -t mangle -F
sudo iptables -F
sudo iptables -X

https://www.digitalocean.com/community/tutorials/how-to-list-and-delete-iptables-firewall-rules

Regards

by Mitchell Anicas
Iptables is a firewall that plays an essential role in network security for most Linux systems. While many iptables tutorials will teach you how to create firewall rules to secure your server, this one will focus on a different aspect of firewall management: listing and deleting rules.
Have another answer? Share your knowledge.