Report this

What is the reason for this report?

Floating IP is assigned to other droplet but is not accessible

Posted on February 14, 2020

Hi,

I have two nodes in DO running pgpool. I have assigned floating IP to one of the nodes in DO.I have configured my pgpool to use the floating IP. After starting pgpool on master node, I can see using ifconfig that my floating ip is attached to master node and my application which uses the floating IP to connect, runs fine.

After I shutdown my pgpool services on master node, I can see that floating ip is assigned to the second/standby node but my application is not able to connect to the IP.

If I do not use my application and try directly from command line then also it does not connect. Is the Floating IP bound to only one Droplet?

Thanks, Nikhil



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.

Hello,

Just came across this question. What I could suggest is to set your service bind address to 0.0.0.0, that way when the Floating IP changes your service should still be accessible.

Best, Bobby

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.