I am an admin of the VPS that has 198.211.125.185 ip address. Today I connected it via ssh and enabled the firewall. Unfortunately I forgot to open ssh port. After closing the ssh connection I can’t reconnect to my VPS.
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.
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.
I disabled all the ports in the firewall except 80. I tried your way but it says “Failed to establish a connection to the console. Please reload”
Is there any chance for me to be saved from this?
This comment has been deleted
Hello, @dnanzadragchaa!
You can unlock the SSH port yourself! Simply select your Droplet from from your Control Panel’s Droplet list, then Access → Console Access. It’ll start a VNC connection to your server, and your firewall will not block it.
Have a nice day, Alfio.