# Can anyone specify the configurations for clustering three nodes which are in different machines?

**URL:** <https://discuss.elastic.co/t/can-anyone-specify-the-configurations-for-clustering-three-nodes-which-are-in-different-machines/55821>\
**Category:** Elasticsearch\
**Created:** [July 19, 2016, 5:01am UTC](https://discuss.elastic.co/t/can-anyone-specify-the-configurations-for-clustering-three-nodes-which-are-in-different-machines/55821 "2016-07-19T05:01:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeevan\_jeevanreddy](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jeevan\_jeevanreddy](https://discuss.elastic.co/u/jeevan_jeevanreddy)\
**Post date:** [July 19, 2016, 5:01am UTC](https://discuss.elastic.co/t/can-anyone-specify-the-configurations-for-clustering-three-nodes-which-are-in-different-machines/55821/1 "2016-07-19T05:01:11Z")

</div>

i have tried configuring three nodes which are in different machines?  
could not able to do so,having some port isssues

---

<div class="post-metadata">

**Author:** ![Ravi\_Shanker\_Reddy](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@Ravi\_Shanker\_Reddy](https://discuss.elastic.co/u/Ravi_Shanker_Reddy)\
**Post date:** [July 19, 2016, 5:17am UTC](https://discuss.elastic.co/t/can-anyone-specify-the-configurations-for-clustering-three-nodes-which-are-in-different-machines/55821/2 "2016-07-19T05:17:39Z")

</div>

If you think you have port issues don't change your ports. Use default port.

FYI

`cluster.name: my-application node.name: node-1 node.master: true node.data: true network.host: <your_node_ip> http.port: 9200 discovery.zen.ping.multicast.enabled: false discovery.zen.ping.unicast.hosts: ["localhost", "second_ip", "third_ip"] discovery.zen.minimum_master_nodes: 2`

Continue this in all the nodes. But change the node name it has to be unique among the cluster

---

<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, 10:34pm UTC](https://discuss.elastic.co/t/can-anyone-specify-the-configurations-for-clustering-three-nodes-which-are-in-different-machines/55821/3 "2017-07-05T22:34:33Z")

</div>


