title: Elasticsearch Allow Access from localhost, and two other ips
body: <p>I have an elasticsearch server setup at </p>
  
  <pre><code>http://hostname:9200. 
  </code></pre>
  
  <p>The server is bound to the local host in elasticsearch.yml as specified in <a href="https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-on-an-ubuntu-vps" rel="nofollow">https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-on-an-ubuntu-vps</a>. This works to only allow the localhost to connect to the server. I would need to allow two other servers (worker nodes) to connect to the server to put data there. How can I bind additional ips so that the elasticsearch server can be accessed from localhost and the two other ips?</p>