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

November 2, 2017 117 views
Networking Ubuntu 16.04

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

2 Answers

Hello,

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.
https://www.google.com/search?q=current+IP+address&ie=utf-8&oe=utf-8

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.