title: How to bind Elasticsearch 2.0 on both Loopback and Non-Loopback interfaces?
body: <p>Starting from version 2.0 Elasticsearch binds only on the loopback interface by default (<strong>_local_</strong> in terms of configuration). </p>
  
  <p>The <a href="https://www.elastic.co/guide/en/elasticsearch/reference/2.0/modules-network.html">documentation</a> says that there is a way to switch to another network, for example, <strong>_non_loopback_</strong> binds to the first non-loopback interface. It works fine. </p>
  
  <p>But I cannot figure out how do I combine these settings so that Elasticsearch binds on <em>both</em> loopback and non-loopback interfaces simultaneously? </p>
  
  <p>PS. My reason is that I use Logstash on each Elasticsearch instance that connects to it via localhost, but I also want other Elasticsearch instances to see each other to form the cluster...</p>