Clarify :ipv4 special value in network settings

Hi,

I'm wondering: if I specify an IPv4 address in network.host like this:
network.host: 172.16.20.20

does it imply this:
network.host: "_private:ipv4_"

presuming I've got a NIC called private with the IP address 172.16.20.20?

This is unclear to me from the doc: https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html#network-interface-values

Also, does either of these notations have any effect if -Djava.net.preferIPv4Stack=false and my host has IPv6 address? I.e. do I have to set -Djava.net.preferIPv4Stack=true on hosts with IPv6 available to make sure either network.host: 172.16.20.20 or network.host: "_private:ipv4_" have any effect?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.