i can't connect or ping my droplet Public IP.

November 2, 2017 5.5k views
Networking Ubuntu 16.04

Connect to my droplet only using the console.
I cant not ping my public ip.

2 Answers


I’m guessing the UFW firewall is enabled and is blocking the request. Could you please try adding this rule?

ufw allow from YOUR_IP_ADDRESS
ufw disable
ufw enable

You can get your networks IP address by clicking this link.

Hope it helps, thanks.

  • Also please check to see if SSH is allowed before enabling the firewall again.

    ufw allow ssh

    This will prevent any lockouts.

Hi there,

Connect to the server via the console from your droplet dashboard, then try to disable UFW or run the command below to flush the firewall rules:

iptables -F
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!