Report this

What is the reason for this report?

Trying to connect WordPress droplet with SSH

Posted on October 12, 2019

Help will be appreciated.



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.

Hi @DigitalSplendid,

You can try and allow your IP address in your droplet’s firewall.

Please try with the following lines

iptables -A INPUT -p tcp -s XXX.XXX.XXX.XXX -j ACCEPT
iptables -A OUTPUT -p tcp -d  XXX.XXX.XXX.XXX -j ACCEPT

You can replace XXX.XXX.XXX.XXX with your own personal IP address. To get your own IP address, click here

As soon as you’ve added your IP, save the iptables configuration

iptables save

If you wish to read more on Iptables and how to use them, you can check this DO article - Iptables Essentials

Regards, KDSys

Having not much exposure to working in consoles, I am not sure in which console I need to put commands.

  1. Is it the console that opens from PuTTY (screenshot 2)
  2. Is it the console that opens after clicking Launch Console (screenshot 1)

Or are they just alternative way to get the same work done?

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.