# How to run nodes in a cluster on different ports at run time?

**URL:** <https://discuss.elastic.co/t/how-to-run-nodes-in-a-cluster-on-different-ports-at-run-time/54568>\
**Category:** Elasticsearch\
**Created:** [July 2, 2016, 6:38am UTC](https://discuss.elastic.co/t/how-to-run-nodes-in-a-cluster-on-different-ports-at-run-time/54568 "2016-07-02T06:38:58Z")\
**Posts on this page:** 5\
**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 2, 2016, 6:38am UTC](https://discuss.elastic.co/t/how-to-run-nodes-in-a-cluster-on-different-ports-at-run-time/54568/1 "2016-07-02T06:38:58Z")

</div>

i'm running three nodes on same machine and i did not do any settings to ports to each node ,i just clustered using zen protocal?  
when am doing load test using JMETER throughput has decreased drastically (around 30/min) ?  
i want to know where i am doing wrong?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 2, 2016, 6:56am UTC](https://discuss.elastic.co/t/how-to-run-nodes-in-a-cluster-on-different-ports-at-run-time/54568/2 "2016-07-02T06:56:15Z")

</div>

Don't run 3 nodes on the same machine. It's not realistic.

---

<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 2, 2016, 7:03am UTC](https://discuss.elastic.co/t/how-to-run-nodes-in-a-cluster-on-different-ports-at-run-time/54568/3 "2016-07-02T07:03:04Z")

</div>

is it the cause for decrease of throughput?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 2, 2016, 8:06am UTC](https://discuss.elastic.co/t/how-to-run-nodes-in-a-cluster-on-different-ports-at-run-time/54568/4 "2016-07-02T08:06:58Z")

</div>

You are sharing the same physical resources on 3 nodes and add more complexity.  
My guess is yes.

If you want to run a performance test, do it in a realistic way otherwise your numbers won't tell you anything.

---

<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:38pm UTC](https://discuss.elastic.co/t/how-to-run-nodes-in-a-cluster-on-different-ports-at-run-time/54568/5 "2017-07-05T22:38:51Z")

</div>


