# Adding new node in cluster

**URL:** <https://discuss.elastic.co/t/adding-new-node-in-cluster/91408>\
**Category:** Elasticsearch\
**Created:** [June 30, 2017, 10:14am UTC](https://discuss.elastic.co/t/adding-new-node-in-cluster/91408 "2017-06-30T10:14:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kisshor\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kisshor_kumar/32/19664_2.png) [@Kisshor\_Kumar](https://discuss.elastic.co/u/Kisshor_Kumar)\
**Post date:** [June 30, 2017, 10:14am UTC](https://discuss.elastic.co/t/adding-new-node-in-cluster/91408/1 "2017-06-30T10:14:43Z")

</div>

I am running elasticsearch-5.0.0-beta1 in my laptop, I want to add one more new node to my elasticsearch cluster. In total I want to have 2 nodes. How do I do this?

My elasticsearch.yml  
[cluster.name](http://cluster.name): my-application  
node.attr.rack: r1  
[node.name](http://node.name): node-1  
path.data: /path/to/data

# second node

[node.name](http://node.name): newnode  
node.master: false  
node.data: true  
discovery.zen.ping.unicast.hosts: ["127.0.0.2"]

When starting elasticsearch the newnode is not added to cluster. what to do? I use windows 8 64bit machine.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 30, 2017, 10:38am UTC](https://discuss.elastic.co/t/adding-new-node-in-cluster/91408/2 "2017-06-30T10:38:05Z")

</div>

You need to use a non-loopback address instead of the 127 one.

> [@Kisshor\_Kumar](#):
>
> I am running elasticsearch-5.0.0-beta1

Please use one of the GA releases, current is 5.4.3 🙂

---

<div class="post-metadata">

**Author:** ![Kisshor\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kisshor_kumar/32/19664_2.png) [@Kisshor\_Kumar](https://discuss.elastic.co/u/Kisshor_Kumar)\
**Post date:** [July 12, 2017, 5:42pm UTC](https://discuss.elastic.co/t/adding-new-node-in-cluster/91408/3 "2017-07-12T17:42:00Z")

</div>

I have a single machine with 1 ip address. Can I add another node in same machine? I dont have another machine to add as a node. Please help. I am a beginner.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 12, 2017, 10:21pm UTC](https://discuss.elastic.co/t/adding-new-node-in-cluster/91408/4 "2017-07-12T22:21:40Z")

</div>

Yes you can, just start another instance of Elasticsearch.

---

<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:** [August 9, 2017, 10:22pm UTC](https://discuss.elastic.co/t/adding-new-node-in-cluster/91408/5 "2017-08-09T22:22:54Z")

</div>

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