# Discovery.zen.ping.unicast.hosts and custom ports

**URL:** <https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-and-custom-ports/104530>\
**Category:** Elasticsearch\
**Created:** [October 19, 2017, 9:32am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-and-custom-ports/104530 "2017-10-19T09:32:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![toper](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@toper](https://discuss.elastic.co/u/toper)\
**Post date:** [October 19, 2017, 9:32am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-and-custom-ports/104530/1 "2017-10-19T09:32:41Z")

</div>

Hi,

could somebody explain why i need to point ALL nodes (with ports) in discovery.zen.ping.unicast.hosts setting (my data nodes use custom http/transport ports)?  
My understanding was, that i need to point master nodes there, and all other nodes would register and master nodes would handle the network state and gossip to other nodes.

Any hints?

---

<div class="post-metadata">

**Author:** ![Canappeco](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@Canappeco](https://discuss.elastic.co/u/Canappeco)\
**Post date:** [October 19, 2017, 10:26am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-and-custom-ports/104530/2 "2017-10-19T10:26:43Z")

</div>

In fact there are some necessary communication between data nodes. So data nodes have to know other data nodes' IP address.

---

<div class="post-metadata">

**Author:** ![toper](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@toper](https://discuss.elastic.co/u/toper)\
**Post date:** [October 19, 2017, 11:52am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-and-custom-ports/104530/3 "2017-10-19T11:52:31Z")

</div>

I understand that, but the information about other nodes should be delivered to the node that joins the cluster. New data nodes can be spanned without updating the discovery.zen.ping.unicast.hosts..

Is there something i am missing, please advice. (I use ES v 2.4)

---

<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:** [November 16, 2017, 11:52am UTC](https://discuss.elastic.co/t/discovery-zen-ping-unicast-hosts-and-custom-ports/104530/4 "2017-11-16T11:52:38Z")

</div>

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