You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ferenc Erdelyi (Jira)" <ji...@apache.org> on 2025/09/17 11:22:00 UTC
[jira] [Created] (HADOOP-19695) Add dualstack/IPv6 Support to HttpServer2
Ferenc Erdelyi created HADOOP-19695:
---------------------------------------
Summary: Add dualstack/IPv6 Support to HttpServer2
Key: HADOOP-19695
URL: https://issues.apache.org/jira/browse/HADOOP-19695
Project: Hadoop Common
Issue Type: Sub-task
Components: hadoop-common
Reporter: Ferenc Erdelyi
To enable dualstack and IPv6 support, we use
InetAddress.getAllByName(hostname) to resolve the IP addresses of a host.
When the system property java.net.preferIPv4Stack is set to true, only IPv4 addresses are returned and any IPv6 addresses are ignored, so no extra check is needed to exclude IPv6.
When java.net.preferIPv4Stack is false, both IPv4 and IPv6 addresses may be returned, and any IPv6 addresses will also be added as connectors.
To disable IPv4, you need OS level configuration.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org