# Inquiry about the configuration of network.host in elasticsearch.yml

**URL:** <https://discuss.elastic.co/t/inquiry-about-the-configuration-of-network-host-in-elasticsearch-yml/313329>\
**Category:** Elasticsearch\
**Created:** [August 31, 2022, 7:59am UTC](https://discuss.elastic.co/t/inquiry-about-the-configuration-of-network-host-in-elasticsearch-yml/313329 "2022-08-31T07:59:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![morad\_della3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/morad_della3/32/101241_2.png) [@morad\_della3](https://discuss.elastic.co/u/morad_della3)\
**Post date:** [August 31, 2022, 7:59am UTC](https://discuss.elastic.co/t/inquiry-about-the-configuration-of-network-host-in-elasticsearch-yml/313329/1 "2022-08-31T07:59:56Z")

</div>

I already installed Elasticsearch 8.4.0 in ubuntu and I find in the elasticsearch.yml file that the  
HTTP.host: 0.0.0.0 and #transport.host: 0.0.0.0  
is that mean that I should put the network.host also 0.0.0.0 ??  
thanks.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 31, 2022, 8:01am UTC](https://discuss.elastic.co/t/inquiry-about-the-configuration-of-network-host-in-elasticsearch-yml/313329/2 "2022-08-31T08:01:13Z")

</div>

`network.host` will over ride the other two, it should really be the only one you need to set.

---

<div class="post-metadata">

**Author:** ![morad\_della3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/morad_della3/32/101241_2.png) [@morad\_della3](https://discuss.elastic.co/u/morad_della3)\
**Post date:** [August 31, 2022, 8:04am UTC](https://discuss.elastic.co/t/inquiry-about-the-configuration-of-network-host-in-elasticsearch-yml/313329/3 "2022-08-31T08:04:43Z")

</div>

@warkolm thanks for your response, I have another question I installed Elasticsearch and kibana in the same ubuntu server I put the network.host=localhost or 127.0.0.1 right ? or i will put the IP of the ubuntu server?

---

<div class="post-metadata">

**Author:** ![cheshirecat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cheshirecat/32/109532_2.png) [@cheshirecat](https://discuss.elastic.co/u/cheshirecat)\
**Post date:** [August 31, 2022, 9:06am UTC](https://discuss.elastic.co/t/inquiry-about-the-configuration-of-network-host-in-elasticsearch-yml/313329/4 "2022-08-31T09:06:40Z")

</div>

For security reasons always use fixed IPs or FQDNs.

---

<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:** [September 28, 2022, 9:07am UTC](https://discuss.elastic.co/t/inquiry-about-the-configuration-of-network-host-in-elasticsearch-yml/313329/5 "2022-09-28T09:07:37Z")

</div>

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