elasticsearch listen to multiple ips

后端 未结 3 1870
失恋的感觉
失恋的感觉 2021-02-07 02:03

Is it possible to listen to multiple host adresses so that I can listen to localhost requests AND private IP requests?

something like:

network.host: \"12         


        
3条回答
  •  你的背包
    2021-02-07 02:28

    In fact yes it is. Use the JSON notation.

    This is what I used in my configuration: network.bind_host: ["yourhost", "localhost"] and network.publish_host: yourhost as you don't want to send multicast packets on the loopback interface.

提交回复
热议问题