Hello friends , My website has suddenly stopped, and it is no longer working at all. I have shut down and restarted Droplet several times, but to no avail, and I don’t know why. Even I couldn’t access my server at all either. **

through my console gives me this error:

**

  • failed to start console session please close this window and try again or
  • error:failed to get droplet info

**

or via ssh:

**

  • ssh: connect to host x.x.x.x port 22: Connection timed out

**

or via Ftp:

**

  • Network error: Connection to “x.x.x.x” timed out.

So I think the problem is in the server. what should I do and I can’t completely access my files. Can anyone help me please as soon as possible.


Submit an answer


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.

Purnima Kumari
DigitalOcean Employee
DigitalOcean Employee badge
March 15, 2023

Hello @tarekhussien53

It looks like your IP address is not reaching to reach port 22 or the root login method is not on in your droplet. The issue seems to be with port 22 or firewall. If you are using the cloud firewall, disable the same for time being and regain access to the Droplet.

Otherwise try to get access via the DigitalOcean console in order to restore the access to your droplet.

If not please refer the document here

alexdo
Site Moderator
Site Moderator badge
March 15, 2023

Hello @tarekhussien53

If you filter any traffic to your droplet via a Cloud Firewall you can temporary disable all rules in order to regain access to your server.

https://docs.digitalocean.com/products/networking/firewalls/

On the other hand if you filter traffic on port 22 via UFW you can then use the DigitalOcean console in order to restore the normal access to your droplet.

https://docs.digitalocean.com/products/droplets/resources/recovery-console/

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu-20-04

Hope that this helps!

Hi @tarekhussien53,

Some connectivity problems can be caused by firewall configurations. Have you checked the firewall status? If you are using Ubuntu Droplet:

  1. sudo ufw status

The following command display the firewall rules:

  1. sudo ufw status verbose

I recommend you check out How to Troubleshoot SSH Connectivity Issues where you will find extended documentation on the subject.

I hope that helps, Sergio Turpín

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up