# Discovery.zen.ping.unicast.hosts Value

**URL:** <https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-value/16418>\
**Category:** Elasticsearch\
**Created:** [March 18, 2014, 9:01am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-value/16418 "2014-03-18T09:01:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepak\_Kumar1](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@Deepak\_Kumar1](https://discuss.elastic.co/u/Deepak_Kumar1)\
**Post date:** [March 18, 2014, 9:01am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-value/16418/1 "2014-03-18T09:01:59Z")

</div>

Hi,  
I am new to ES. Could you please guide me what would be the value of  
_discovery.zen.ping.unicast.hosts_ in elasticsearch.yml file. I want to  
have two nodes in the cluster.

Regards,  
Deepak

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1002bf9a-4ce4-4892-a7fc-69fd7dd52291%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1002bf9a-4ce4-4892-a7fc-69fd7dd52291%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Prashant\_Pal](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@Prashant\_Pal](https://discuss.elastic.co/u/Prashant_Pal)\
**Post date:** [March 18, 2014, 9:32am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-value/16418/2 "2014-03-18T09:32:28Z")

</div>

As per my guess **discovery.zen.ping.unicast.hosts** value should be set to **IP:port** in both of the config files.

For example try this out:  
discovery.zen.ping.unicast.hosts : ["node1\_IP:9300","node2\_IP:9300"]

---

<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:** [July 6, 2017, 1:42am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-value/16418/3 "2017-07-06T01:42:34Z")

</div>


