Report this

What is the reason for this report?

Connection Refused Port 22

Posted on December 9, 2016

So was testing out some things on my droplet, and sshd_config still shows port 22 listed, I’ve even flushed all iptables rules (effectively disabling the firewall) ufw is not enabled either but still can’t establish a connection either via SSH or telnet.

Does anyone have any suggestions?



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.

You should be able to log into your droplet via the console (under Access in the control panel) in order to check your services and review your logs for an indication of why you’re not able to reach it. If you’re using an ssh-key and don’t have a user with a password set, our support team can boot your droplet to a recovery environment where you can mount your disk image and investigate.

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.