Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Unable to bind curl to a floating IP address
I started testing the floating IP feature and I am running into a few problems:
I am able to assign a floating IP to a droplet.
According to the documentation, as this is a brand new droplet, it should already have an ‘anchor’ IP to use.
However when I try use curl with –interface 18.104.22.168
curl: (45) bind failed with errno 99: Cannot assign requested address
curl: (6) Could not resolve host: Pragma; Unknown error
Initially I’d thought the issue is somehow related to curl IPv6 bugs so I spun up another droplet with IPv6 disabled and I am still getting the error.
The second issue I have is trying to automate this process using REST API (initially using curl as well).
When running an API call I get:
“"Due to limited availability we have temporarily disabled IP reservation in this region.”“ however the same funtionality is working fine using website admin UI.
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.×