Cannot connect to my droplet?

Hi Dev! I am doing some stupid thing, I was changing ssh port from 22 to 2590 port open in the firewall-cmd and I am able to connect to my droplet as normal, but I’m confused to delete the 2590 port from my firewall-cmd and now I can not connect to my droplet. and it banned my IP also cause I’m using fail2ban. is there a way to connect back to my droplet without destroying 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 @comeesportocean776,

You’ll need to use the Recovery Console to SSH and resolve the full disk. The Recovery Console provides out-of-band access and is available regardless of your network settings. It emulates the access you would have if you were sitting down with a keyboard and monitor attached to the actual server. You can use this feature to log in and revert bad settings to regain normal access.

You can follow this documentation on how to enter your into your Droplet:

Basically, you’ll reset your root password and use it via the root user on the Recovery console to connect to it. Once inside you can see what’s causing the exact issues, remove the firewall rules and so on

Hope this helps!