Question

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

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


Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

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

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

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

New Year

Same Issue

BUMP!