# Why will unicast will not work?

**URL:** <https://discuss.elastic.co/t/why-will-unicast-will-not-work/15888>\
**Category:** Elasticsearch\
**Created:** [February 19, 2014, 8:41am UTC](https://discuss.elastic.co/t/why-will-unicast-will-not-work/15888 "2014-02-19T08:41:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Montgomery](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@David\_Montgomery](https://discuss.elastic.co/u/David_Montgomery)\
**Post date:** [February 19, 2014, 8:41am UTC](https://discuss.elastic.co/t/why-will-unicast-will-not-work/15888/1 "2014-02-19T08:41:25Z")

</div>

Why will unicast will not work?

discovery.zen.ping.multicast.enabled: false  
discovery.zen.ping.unicast.hosts:  
["198.199.94.xxx:9200","192.241.198.yyy:9200"]

Both nodes have been restarted. Both have the same config file. Both can  
telent into each other. Yet I get the below. I am using version 1.0.0

root@oXdevelopmentXsfXelasticsearchX11:~# curl -XGET '  
[http://198.199.94.xxx:9200/\_cluster/health?pretty=true](http://198.199.94.xxx:9200/_cluster/health?pretty=true)'  
{  
"cluster\_name" : "test",  
"status" : "green",  
"timed\_out" : false,  
"number\_of\_nodes" : 1,  
"number\_of\_data\_nodes" : 1,  
"active\_primary\_shards" : 0,  
"active\_shards" : 0,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 0  
}

I am on digital ocean.

--  
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/CACF%2B8rq5Nyq4%2B8ejE19m5vUiAwLECdfHmp8pzo2f\_KRsHeshEg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CACF%2B8rq5Nyq4%2B8ejE19m5vUiAwLECdfHmp8pzo2f_KRsHeshEg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![David\_Montgomery](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@David\_Montgomery](https://discuss.elastic.co/u/David_Montgomery)\
**Post date:** [February 19, 2014, 8:48am UTC](https://discuss.elastic.co/t/why-will-unicast-will-not-work/15888/2 "2014-02-19T08:48:30Z")

</div>

sorry. I changed to port 9300. It worked! Yeay. Multicast did not work  
though. Now life is good:)

On Wed, Feb 19, 2014 at 4:41 PM, David Montgomery \<[davidmontgomery@gmail.com](mailto:davidmontgomery@gmail.com)

> wrote:

> Why will unicast will not work?
> 
> discovery.zen.ping.multicast.enabled: false  
> discovery.zen.ping.unicast.hosts:  
> ["198.199.94.xxx:9200","192.241.198.yyy:9200"]
> 
> Both nodes have been restarted. Both have the same config file. Both can  
> telent into each other. Yet I get the below. I am using version 1.0.0
> 
> root@oXdevelopmentXsfXelasticsearchX11:~# curl -XGET '  
> [http://198.199.94.xxx:9200/\_cluster/health?pretty=true](http://198.199.94.xxx:9200/_cluster/health?pretty=true)'  
> {  
> "cluster\_name" : "test",  
> "status" : "green",  
> "timed\_out" : false,  
> "number\_of\_nodes" : 1,  
> "number\_of\_data\_nodes" : 1,  
> "active\_primary\_shards" : 0,  
> "active\_shards" : 0,  
> "relocating\_shards" : 0,  
> "initializing\_shards" : 0,  
> "unassigned\_shards" : 0  
> }
> 
> I am on digital ocean.

--  
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/CACF%2B8rrxHst\_HbP2bJksezANYOExAGCm96GF%2BtPUh-JH9Y9Ofg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CACF%2B8rrxHst_HbP2bJksezANYOExAGCm96GF%2BtPUh-JH9Y9Ofg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Binh\_Ly](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@Binh\_Ly](https://discuss.elastic.co/u/Binh_Ly)\
**Post date:** [February 19, 2014, 1:59pm UTC](https://discuss.elastic.co/t/why-will-unicast-will-not-work/15888/3 "2014-02-19T13:59:41Z")

</div>

Also, some networks do not support multicast. Just FYI.

--  
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/233d8f18-d634-47a2-81d5-87a9f7f8c629%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/233d8f18-d634-47a2-81d5-87a9f7f8c629%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:49am UTC](https://discuss.elastic.co/t/why-will-unicast-will-not-work/15888/4 "2017-07-06T01:49:04Z")

</div>


