WARNING: Version 6.2 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
By default, Elasticsearch binds to loopback addresses only — e.g.
[::1]. This is sufficient to run a single development node on a server.
In fact, more than one node can be started from the same
location on a single node. This can be useful for testing Elasticsearch’s
ability to form clusters, but it is not a configuration recommended for
In order to communicate and to form a cluster with nodes on other servers, your
node will need to bind to a non-loopback address. While there are many
network settings, usually all you need to configure is
network.host setting also understands some special values such as
_global_ and modifiers like
:ip6, details of
which can be found in Special values for
As soon you provide a custom setting for
Elasticsearch assumes that you are moving from development mode to production
mode, and upgrades a number of system startup checks from warnings to
exceptions. See Development mode vs production mode for more information.