SSH Timeout for Droplet with Port Number

I am trying to ssh into my Digital Ocean droplet. I have been using it extensively for the past few days. Yesterday one of the iTerm windows I was using started returning a timeout message when I tried to SSH (the other windows already connected continued to work).

This morning I am trying to SSH in the same way I did yesterday (and all previous days) and I am getting a message of:

ssh: connect to host ip_address port my_port: Operation timed out. (with IP and port generalized)

All the other support questions that I searched through seem to encourage a person to destroy the droplet and start over. That doesn’t seem like an acceptable answer to me.

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.

Have you set up any firewalling on this droplet? Running nmap on your IP address suggests that there are no open ports. What’s the output of:

sudo iptables -L

If you have set up an iptables firewall, you can open port 2300 with:

sudo iptables -A INPUT -p tcp --dport 2300 -j ACCEPT

Yes, the exact reason why I ignored your comment about the IP being masked is to force you to type it (leading to the discovery of the typo you made)

Writing the correct IP in your alias file should fix the issue.

Yes, I did see it.

Are you sure is your IP address?