# How can I connect services on different machines?

**URL:** <https://discuss.elastic.co/t/how-can-i-connect-services-on-different-machines/2850>\
**Category:** Elasticsearch\
**Created:** [March 17, 2010, 9:20pm UTC](https://discuss.elastic.co/t/how-can-i-connect-services-on-different-machines/2850 "2010-03-17T21:20:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fred\_Vos\_2](https://avatars.discourse-cdn.com/v4/letter/f/c5a1d2/32.png) [@Fred\_Vos\_2](https://discuss.elastic.co/u/Fred_Vos_2)\
**Post date:** [March 17, 2010, 9:20pm UTC](https://discuss.elastic.co/t/how-can-i-connect-services-on-different-machines/2850/1 "2010-03-17T21:20:18Z")

</div>

Hello,

I'm interested in using ElasticSearch. I want to run two (or three)  
instances of ElasticSearch on different machines, that replicate  
completely. In the demo video the instances are connected  
automatically. I need to connect the instances using configuration.  
Can someone please point me to documentation on this, or explain how  
to do it?

Thanks,

Fred

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 17, 2010, 9:25pm UTC](https://discuss.elastic.co/t/how-can-i-connect-services-on-different-machines/2850/2 "2010-03-17T21:25:20Z")

</div>

When you say configuration, what do you mean? elasticsearch uses discovery  
to find other nodes, and the current implementation is jgroups. You can find  
more info here:  
[http://www.elasticsearch.com/docs/elasticsearch/modules/discovery/](http://www.elasticsearch.com/docs/elasticsearch/modules/discovery/).

-shay.banon

On Wed, Mar 17, 2010 at 11:20 PM, Fred Vos [fred@fredvos.org](mailto:fred@fredvos.org) wrote:

> Hello,
> 
> I'm interested in using Elasticsearch. I want to run two (or three)  
> instances of Elasticsearch on different machines, that replicate  
> completely. In the demo video the instances are connected  
> automatically. I need to connect the instances using configuration.  
> Can someone please point me to documentation on this, or explain how  
> to do it?
> 
> Thanks,
> 
> Fred

---

<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 6, 2017, 4:25am UTC](https://discuss.elastic.co/t/how-can-i-connect-services-on-different-machines/2850/3 "2017-07-06T04:25:16Z")

</div>

Closed on July 6, 2017, 4:25am UTC


