What's the difference between bind_host and publish_host in ElasticSearch?

后端 未结 5 1560
孤城傲影
孤城傲影 2021-01-31 09:53

From this document network settings, I know that publish_host is the host that other nodes in the cluster will communicate to. But I don\'t understand the funct

5条回答
  •  醉话见心
    2021-01-31 10:15

    The following setting should do the trick. It accepts connections from any IP (bind) and configures its self ip to the first non_loopback in the first available network interface.

    network.bind_host: "0.0.0.0"
    network.publish_host: _non_loopback:ipv4_
    

    To see more options, check the docs.

提交回复
热议问题