Question

Floating IP can't be accessed via browser, ping and ssh

I’ve added a floating IP but the IP address just won’t work. Pinging the newly created floating IP will get request timeout for icmp_seq 0. SSH also doesn’t work. I have tried changing my domain name A record to the floating IP but then the website just won’t load anymore and I am forced to change it back to the original IP.


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.

Accepted Answer

In my case - it was a missing firewall rule that prevented my droplet from responding. The thing is that I’ve assigned the floating IP while my droplet was off. However, I’ve unassigned, and when assigning again, I got the nice popup with hint that droplets created before some time in 2015 must manually be added a firewall rule. After I did that all was good.

Go to Networking >> Floating IPs >> Select your expected floating IP >> More >> Reassign and a Pop-up window will come up saying you to run some commands for you old Droplet.

If you run tcpdump on the host the floating IP is intended to point to you may see that incoming traffic is from the internal (10.x.x.x) network.

Adjust your services accordingly to ensure incoming data can flow from the DO service that hosts your floating IP to your primary Droplet.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel