'Fixed IP Address for Cloud Foundry Apps
I have a PHP Cloud Foundry Apps installed.
But when I deploy new code (with cf push ), the app gets a new public IP address.
Is it possible to get a fixed public IP address, so that after a new deployment the IP address doesn't change?
Solution 1:[1]
Cloud Foundry application cannot specify a fixed IP address for the application.
Solution 2:[2]
Cloud Foundry provides a route to the application via either the manifest.yml file ('host' or 'hosts' attribute) or the '-n' option to the cf push command.
Why do you need a fixed IP address?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | James Thomas |
| Solution 2 | iwinoto |
