Report this

What is the reason for this report?

I am unable to access my server anyhow?

Posted on May 12, 2017

I think that someday, I restarted my server using the Digitalocean control panel probably due to which this problem started. The current situation- I am not able to SSH and also unable to connect using Control Panel consol window. to my droplet I expect that some files related to ssh might have got corrupted for me not being able to connect via ssh (It shows “Connection closed by <ip> on port 22”). For the second case, the reason might be the fact that my office network only allows connections on port 80, 443 and 22 only (It shows a black screen with “Server disconnected (code: 1006)”). So what should I do now to get access to the droplet.



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!

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.

Hi @harshit0agrawal

Can you go to the control panel and power off the droplet. Wait a few seconds and then start it again. If you check the Console, can you see anything happening?

The Console in the control panel connects to the droplet like it was a monitor, so it doesn’t matter if SSH is working or not.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.