ES multiple network.host failed to bind

I'm working with elasticsearch and i'm trying to put multiple network.host but it doesn't seems to work. What I did is I changed elasticsearch.yml and adding

  network.host: ["127.0.0.1","xx.xx.xxx.xxx"]

But when I restart my service it doesn't work and im my log file I got the following error :

 org.elasticsearch.transport.BindTransportException: Failed to bind to [9300-9400]

And of course it's impossiple for me to have the health by doing

curl -X GET "127.0.0.1:9200/_cat/health?"

on my server

Everything works fine If I use only one network.host (127.0.0.1 or the other one)

I also did

netstat -a -n | grep "LIST"

But nothing seems to be a problem there

The only reason I can think of why you would get that error is due to the fact the ip you are configuring is incorrect.

Please double check the ip and try again...

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