# Proper configuration of "server.host", "elasticsearch.host", and "network.host" settings on multinode cluster in production

**URL:** <https://discuss.elastic.co/t/proper-configuration-of-server-host-elasticsearch-host-and-network-host-settings-on-multinode-cluster-in-production/255378>\
**Category:** Kibana\
**Created:** [November 13, 2020, 8:08pm UTC](https://discuss.elastic.co/t/proper-configuration-of-server-host-elasticsearch-host-and-network-host-settings-on-multinode-cluster-in-production/255378 "2020-11-13T20:08:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis1](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@Dennis1](https://discuss.elastic.co/u/Dennis1)\
**Post date:** [November 13, 2020, 8:08pm UTC](https://discuss.elastic.co/t/proper-configuration-of-server-host-elasticsearch-host-and-network-host-settings-on-multinode-cluster-in-production/255378/1 "2020-11-13T20:08:45Z")

</div>

Hello, I'm building a multi-node elastic stack cluster with the following nodes:

- 3 master-eligible nodes (with all default roles)
- 1 coordinating-only node with Kibana
- additional data/ingest-dedicated nodes as needed

All of these nodes will exist on the same network and subnet, and should be able to communicate with each other without any firewall or IP filtering issues. Log data is then being shipped to the master-eligible nodes by Filebeat sitting on a separate host.

As I'm a novice when it comes to networking, I need to ask for some help setting the "server.host", "elasticsearch.host", and "network.host" parameters on each of the nodes for a production-level set up.

On my master-eligibile nodes, I've configured `elasticsearch.yml` with:

```auto
network.host: 0.0.0.0
http.port: 9200

```

On my coordinating-only node with Kibana, I've also configured `elasticsearch.yml` with:

```auto
network.host: 0.0.0.0
http.port: 9200

```

...and configured `kibana.yml` with:

```auto
server.host: 0.0.0.0
server.port: 5601
elasticsearch.hosts: ["http://localhost:9200"]

```

Then, I am making the Kibana GUI accessible to remote users by assigning the node a floating IP address.

My primary question is: In a production-level setup, is it appropriate to set both the elasticsearch `network.host` _and_ kibana `server.host` to `0.0.0.0`? Or is it advisable _not_ to do this?

If not, what is the recommended configuration for each setting? Should `server.host` be set to the node's local static IP instead? Likewise, what about the `network.host` setting, for both the master-eligible nodes and coordinating-only/Kibana node?

Any thoughts or advice on this setup would be greatly appreciated.

Thank you,  
Dennis

---

<div class="post-metadata">

**Author:** ![wangqinghuan](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@wangqinghuan](https://discuss.elastic.co/u/wangqinghuan)\
**Post date:** [November 14, 2020, 8:49am UTC](https://discuss.elastic.co/t/proper-configuration-of-server-host-elasticsearch-host-and-network-host-settings-on-multinode-cluster-in-production/255378/2 "2020-11-14T08:49:20Z")

</div>

`0.0.0.0` is an acceptable IP address and will bind to all network interfaces. you can set it to 0.0.0.0 or your static IP. Both are correct.

---

<div class="post-metadata">

**Author:** ![Dennis1](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@Dennis1](https://discuss.elastic.co/u/Dennis1)\
**Post date:** [November 16, 2020, 2:56pm UTC](https://discuss.elastic.co/t/proper-configuration-of-server-host-elasticsearch-host-and-network-host-settings-on-multinode-cluster-in-production/255378/3 "2020-11-16T14:56:55Z")

</div>

OK good to know, thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 14, 2020, 2:57pm UTC](https://discuss.elastic.co/t/proper-configuration-of-server-host-elasticsearch-host-and-network-host-settings-on-multinode-cluster-in-production/255378/4 "2020-12-14T14:57:11Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
