nativeInstallerelasticsearch

Connect to Elasticsearch from a different machine

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

IMPORTANT: Bitnami Native Installers do not modify the firewall configuration of your computer, therefore the Elasticsearch ports could be open which is a significant security risk. You are strongly advised to close the Elasticsearch ports (refer to the FAQ for more information on this).

To access the Elasticsearch server from another computer or application, make the following changes to the node’s installdir/elasticsearch/config/elasticsearch.yml file:

  • network.host: Specify the hostname or IP address where the server will be accessible. Set it to 0.0.0.0 to listen on every interface.

  • network.publish_host: Specify the host name that the node publishes to other nodes for communication.

Last modification September 6, 2018