Question

I am unable to access my server anyhow?

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.


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.

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.

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.