# Can't connect two nodes in elastic 2.0 local wifi

**URL:** <https://discuss.elastic.co/t/cant-connect-two-nodes-in-elastic-2-0-local-wifi/35755>\
**Category:** Elasticsearch\
**Created:** [November 27, 2015, 12:18pm UTC](https://discuss.elastic.co/t/cant-connect-two-nodes-in-elastic-2-0-local-wifi/35755 "2015-11-27T12:18:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dario](https://avatars.discourse-cdn.com/v4/letter/d/bc79bd/32.png) [@dario](https://discuss.elastic.co/u/dario)\
**Post date:** [November 27, 2015, 12:18pm UTC](https://discuss.elastic.co/t/cant-connect-two-nodes-in-elastic-2-0-local-wifi/35755/1 "2015-11-27T12:18:20Z")

</div>

Hi there, I am new to elastic search but I am really exited and looking forward to use it to make cool things. Unfortunately so far I have been struggling a bit, I hope I can get some help to get started.  
I have just installed elastic 2.0.0 on two laptops. Mac and ubuntu.  
In the elastic config file I have set up the following:  
-cluster name  
-node name  
-discovery.zen.ping.unicast.hosts with each other ip address

But it seems that they don't join the same cluster. They each individually create their own cluster locally. If I use kibana/sense GET \_nodes/stats, each laptop has his own one node cluster.  
I tried to set as well  
network.host: with the LAN ip address, but if I do so, Kibana is not able to connect to the elastic server, even if I change in the kibana config file the address from 127.0.0.1 to the LAN ip.  
Please help.  
Thank you.

---

<div class="post-metadata">

**Author:** ![dario](https://avatars.discourse-cdn.com/v4/letter/d/bc79bd/32.png) [@dario](https://discuss.elastic.co/u/dario)\
**Post date:** [November 27, 2015, 12:33pm UTC](https://discuss.elastic.co/t/cant-connect-two-nodes-in-elastic-2-0-local-wifi/35755/2 "2015-11-27T12:33:42Z")

</div>

[SOLVED]  
The clusters are actually joining with the option network.host.  
Kibana was not able to connect because I had to set up a further option "elastic search.url"  
Sorry for the spam. Hop this will help other people.  
Thanks

---

<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 5, 2017, 11:35pm UTC](https://discuss.elastic.co/t/cant-connect-two-nodes-in-elastic-2-0-local-wifi/35755/3 "2017-07-05T23:35:23Z")

</div>


