ElasticSearch: Allow binding to multiple addresses

Problem

You need to bind multiple IP addresses to your elastic search host, following the documentation

network.bind_host: “IP Address”

Solution

To bind multiple hosts simply use a square bracket and comma separate all the addresses

network.bind_host: [ “some_ip”, “some_other_ip” ]

Hits: 7

Leave a Reply