Using an IP address in URL

Content Platform Tenant Management Help

File Size
4269 KB
Part Number

Normally, you let HCP choose the node on which to process a management API request. You can, however, use an IP address in the URL to access the system on a specific node. To do this, you replace the fully qualified domain name (FQDN) in the URL with the IP address for the node you want.

If the node has both an IPv4 address and an IPv6 address, you can use either address. For example, to access the namespaces resource on a node that has both the IPv4 address and the IPv6 address 2001:0db8::101, you can use either of these URLs:

Additionally, you need to provide the fully qualified domain name of the tenant in an HTTP Host header. With cURL, you do this with the -H option. For example:

-H "Host:"

In Python with PycURL, you do this with the HTTPHEADER option. For example:

curl.setopt(pycurl.HTTPHEADER, ["Host:"])
Note: If you don’t know the IP addresses for the nodes in the HCP system, contact your HCP system administrator.