# How to update ES node transport address

**URL:** <https://discuss.elastic.co/t/how-to-update-es-node-transport-address/343851>\
**Category:** Elasticsearch\
**Created:** [September 26, 2023, 9:17am UTC](https://discuss.elastic.co/t/how-to-update-es-node-transport-address/343851 "2023-09-26T09:17:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HadesC](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@HadesC](https://discuss.elastic.co/u/HadesC)\
**Post date:** [September 26, 2023, 9:17am UTC](https://discuss.elastic.co/t/how-to-update-es-node-transport-address/343851/1 "2023-09-26T09:17:31Z")

</div>

I have two Red Hat installed ES 7.9.1 nodes (build type: tar) in my environment, joined to same cluster.  
Suppose one of the Red Hat nodes should only have private IP 10.121.0.2, somehow there is another private IP 10.121.0.12 within the same network interface, and it should be removed.  
I checked the connection with lsof, and found out that 10.121.0.12 is being used by Elastic Search, I called the api to check \_cluster/state, found out the node transport address is using 10.121.0.12:9200, I want to change it back to 10.121.0.2 and remove the IP on OS level. How do I update the transport address? Or I can just remove the IP on OS level and Elastic Search will automatically use 10.121.0.2 to resume the connection in cluster?  
In the elasticsearch.yml, network.host: 0.0.0.0, http.port:9200, transport.tcp.port:9700

Thank you

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [September 26, 2023, 10:59am UTC](https://discuss.elastic.co/t/how-to-update-es-node-transport-address/343851/2 "2023-09-26T10:59:32Z")

</div>

> [@HadesC](#):
>
> I have two Red Hat installed ES 7.9.1 nodes

This version is very old and long-past EOL. We recommend you upgrade to a supported version ASAP.

> [@HadesC](#):
>
> network.host: 0.0.0.0

See [these docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html#network-interface-values), but TLDR if you want a specific address then don't use 0.0.0.0.

---

<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:** [October 24, 2023, 10:59am UTC](https://discuss.elastic.co/t/how-to-update-es-node-transport-address/343851/3 "2023-10-24T10:59:46Z")

</div>

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