HELP : using multiple but not all interfaces for elasticsearch

Hi,

I have 2 nodes with each 2 network interfaces.
One of the networks is public and the other is private.
I want to use elasticsearch only on the private network and for convenience
also on the loopback devices.

I have tried multiple ways in the yml file:

network.bind_host: [ "192.168.1.213" , "127.0.0.1" ]
network.bind_host: { "192.168.1.213" , "127.0.0.1" }
network.bind_host: { "192.168.1.213" , "127.0.0.1"

Nothing seems to work
How can I elasticsearch listining on the private and localhost interfaces?

Regards Hans-Peter

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8e4b7600-cad5-46f6-91ae-da7496ef5e1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You can not bind the same port to 2 IP.

This should work:

network.host: 192.168.1.213

See details at http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-network.html#modules-network

HTH

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 16 septembre 2014 à 09:08:07, HansPeterSloot (hanspeter.sloot@gmail.com) a écrit:

Hi,

I have 2 nodes with each 2 network interfaces.
One of the networks is public and the other is private.
I want to use elasticsearch only on the private network and for convenience also on the loopback devices.

I have tried multiple ways in the yml file:

network.bind_host: [ "192.168.1.213" , "127.0.0.1" ]
network.bind_host: { "192.168.1.213" , "127.0.0.1" }
network.bind_host: { "192.168.1.213" , "127.0.0.1"

Nothing seems to work
How can I elasticsearch listining on the private and localhost interfaces?

Regards Hans-Peter

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8e4b7600-cad5-46f6-91ae-da7496ef5e1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.5417e450.51ead36b.3c6%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.