mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
* [DOCS] Edit JVM settings info. Closes #72259 * Apply suggestions from code review Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> * Incorporated review feedback.
20 lines
891 B
Text
20 lines
891 B
Text
[[network.host]]
|
|
[discrete]
|
|
==== Network host setting
|
|
|
|
By default, {es} only binds to loopback addresses such as `127.0.0.1` and
|
|
`[::1]`. This is sufficient to run a cluster of one or more nodes on a single
|
|
server for development and testing, but a
|
|
<<high-availability-cluster-design,resilient production cluster>> must involve
|
|
nodes on other servers. There are many <<modules-network,network settings>> but
|
|
usually all you need to configure is `network.host`:
|
|
|
|
[source,yaml]
|
|
--------------------------------------------------
|
|
network.host: 192.168.1.10
|
|
--------------------------------------------------
|
|
|
|
IMPORTANT: When you provide a value for `network.host`, {es} assumes that you
|
|
are moving from development mode to production mode, and upgrades a number of
|
|
system startup checks from warnings to exceptions. See the differences between
|
|
<<dev-vs-prod,development and production modes>>.
|