IPv6 Support
Configure IPv6 context.url in ha-node.properties using bracket-enclosed addresses for Artifactory node-to-node communication.
Overview
Starting from version 6.0.0, JFrog Artifactory supports IPv6-enabled hosts. You can configure an IPv6 context.url in the ha-node.properties, which is the address used to connect an Artifactory node to its peers over REST or TCP.
The following guidelines apply when configuring IPv6:
-
IPv6 addresses should be enclosed within square brackets, regardless of whether an explicit port is specified.
-
The context.url parameter is the only place that requires specifying an explicit IP address rather than a DNS hostname (unless the hazelcast.interface property is also used).
-
Artifactory does not support setting an Artifactory Base URL that contains an explicit IPv6 address, nor does it support specifying remote server URLs (where available) or authentication providers (LDAP server / SAML server, etc) that contain IPv6 addresses.
-
Artifactory is compatible with hostnames that resolve to either IPv6 or IPv4 addresses.
The following example shows how an IPv6 address can be used to configure an IPv6 address for the
context.urlparameter:context.url=http://[5a01::b011:81c:c101]:8081/artifactoryAlternatively, if you need to use a DNS hostname for the
context.url, use the following system property in addition to thecontext.url:hazelcast.interface=[5a01::b011:81c:c101]In HA, with Hazelcast enabled (the default configuration), the following parameter is required for Hazelcast to bind to an IPv6-enabled interface. Add it to the
$ARTIFACTORY_HOME/etc/artifactory.system.propertiesfile:hazelcast.prefer.ipv4.stack=false
Note
Access Federation is not supported to work over IPv6.
Updated 24 days ago
