Floating IP bind to anchor IP

I have Floating IP attached to droplet and its working fine in all case except git. I have bitbucket local server (repository only accessible within internal network) If I white list droplet IPv4 to access in droplet git works fine and I am able to clone but if white list Floating IP and try to access repository via Floating IP it gives the following error fatal: unable to access ‘<<url>>’: Failed to connect to <<url>> port 7990: Connection timed out.


Submit an 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.


Jumping in here. Just to be clear, based on your last comment, it seems you are trying to connect from your droplet to an external service, using the floating IP address. While true the floating IP is designed to work by default for inbound traffic, it is possible to use it for outgoing traffic if your software supports selecting a specific interface.

I dug around a little and found this older question and answer (plus some good comments on top of that) about doing exactly this:

One other note, if you have an older droplet (2015 or earlier) you may need to take additional steps to get this working.

Hope this helps and good luck! let us know how it goes

Hello, arhan

Is port 7990 open at both ends (TCP - Incoming and Outgoing) . You can also run a traceroute or mtr to the the floating IP address and see if you’re able to connect. As I can see you’re trying to connect on a specific port, you would need to specify the port as well.

traceroute floating.ip.address 7990

Let me know how it goes.