# How to do i run 3 nodes in 2 different machines?

**URL:** <https://discuss.elastic.co/t/how-to-do-i-run-3-nodes-in-2-different-machines/54569>\
**Category:** Elasticsearch\
**Created:** [July 2, 2016, 7:22am UTC](https://discuss.elastic.co/t/how-to-do-i-run-3-nodes-in-2-different-machines/54569 "2016-07-02T07:22:04Z")\
**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, 7:22am UTC](https://discuss.elastic.co/t/how-to-do-i-run-3-nodes-in-2-different-machines/54569/1 "2016-07-02T07:22:04Z")

</div>

i tried clustering 3 nodes (2 on one machine) .but i'm getting BindTransportException.

can anyone specify the configurations ?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [July 4, 2016, 7:34am UTC](https://discuss.elastic.co/t/how-to-do-i-run-3-nodes-in-2-different-machines/54569/2 "2016-07-04T07:34:35Z")

</div>

Hi,

first, what Elasticsearch version are you using. Second, did you modify your configuration? By default, you can run several instances on a single machine, unless you changed your configuration.

You can use the `http.port` and `transport.tcp.port`settings in your YAML file to change the ports to listen on.

--Alex

---

<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 4, 2016, 8:10am UTC](https://discuss.elastic.co/t/how-to-do-i-run-3-nodes-in-2-different-machines/54569/3 "2016-07-04T08:10:34Z")

</div>

i'm using 1.7.2 version.yes i modified configuration .  
when i ran 3 instances from same machine throughput got decreased

---

<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 4, 2016, 8:35am UTC](https://discuss.elastic.co/t/how-to-do-i-run-3-nodes-in-2-different-machines/54569/4 "2016-07-04T08:35:46Z")

</div>

> [@jeevan\_jeevanreddy](#):
>
> when i ran 3 instances from same machine throughput got decreased

See related thread: [How to run nodes in a cluster on different ports at run time? - #2 by dadoonet](https://discuss.elastic.co/t/how-to-run-nodes-in-a-cluster-on-different-ports-at-run-time/54568/2)

---

<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-do-i-run-3-nodes-in-2-different-machines/54569/5 "2017-07-05T22:38:33Z")

</div>


