# Configure connections using TransportClient

**URL:** <https://discuss.elastic.co/t/configure-connections-using-transportclient/17873>\
**Category:** Elasticsearch\
**Created:** [June 3, 2014, 5:47am UTC](https://discuss.elastic.co/t/configure-connections-using-transportclient/17873 "2014-06-03T05:47:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srinath\_C](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/srinath_c/32/48806_2.png) [@Srinath\_C](https://discuss.elastic.co/u/Srinath_C)\
**Post date:** [June 3, 2014, 5:47am UTC](https://discuss.elastic.co/t/configure-connections-using-transportclient/17873/1 "2014-06-03T05:47:49Z")

</div>

Hi,  
I wasn't able to figure out how to configure the number of connections  
that are opened up by a TransportClient to an ElasticSearch cluster. There  
was some information in one of the discussions  
[https://groups.google.com/forum/#!topic/elasticsearch/7-ob2IeYnMI](https://groups.google.com/forum/#!topic/elasticsearch/7-ob2IeYnMI) but  
they don't seem to work with ElasticSearch 1.1.1.  
I can see 14 connections established from one TransportClient instance  
to one ElasticSearch instance by default.

Thanks,  
Srinath.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAHhx-GJZi6WeSNPTDC%2BW7jG0cKNdRuy64u5DOVA87WXnTRZAuQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHhx-GJZi6WeSNPTDC%2BW7jG0cKNdRuy64u5DOVA87WXnTRZAuQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [June 16, 2014, 11:54am UTC](https://discuss.elastic.co/t/configure-connections-using-transportclient/17873/2 "2014-06-16T11:54:35Z")

</div>

Hey,

those configuration parameters still exist (there are more for ping and  
recovery). Wondering why exactly you want to change those? Do you have any  
specific problems going on?

--Alex

On Tue, Jun 3, 2014 at 7:47 AM, Srinath C [srinath.c@gmail.com](mailto:srinath.c@gmail.com) wrote:

> Hi,  
> I wasn't able to figure out how to configure the number of connections  
> that are opened up by a TransportClient to an Elasticsearch cluster. There  
> was some information in one of the discussions  
> [https://groups.google.com/forum/#!topic/elasticsearch/7-ob2IeYnMI](https://groups.google.com/forum/#!topic/elasticsearch/7-ob2IeYnMI) but  
> they don't seem to work with Elasticsearch 1.1.1.  
> I can see 14 connections established from one TransportClient instance  
> to one Elasticsearch instance by default.
> 
> Thanks,  
> Srinath.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAHhx-GJZi6WeSNPTDC%2BW7jG0cKNdRuy64u5DOVA87WXnTRZAuQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHhx-GJZi6WeSNPTDC%2BW7jG0cKNdRuy64u5DOVA87WXnTRZAuQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAHhx-GJZi6WeSNPTDC%2BW7jG0cKNdRuy64u5DOVA87WXnTRZAuQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAHhx-GJZi6WeSNPTDC%2BW7jG0cKNdRuy64u5DOVA87WXnTRZAuQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9BF4y8tX4Dvvg0NJPCeWmX%2B2JzcGJAnS%3D9%3D-HjYmapjg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM9BF4y8tX4Dvvg0NJPCeWmX%2B2JzcGJAnS%3D9%3D-HjYmapjg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Utkarsh\_Pyne](https://avatars.discourse-cdn.com/v4/letter/u/a587f6/32.png) [@Utkarsh\_Pyne](https://discuss.elastic.co/u/Utkarsh_Pyne)\
**Post date:** [May 16, 2017, 8:01am UTC](https://discuss.elastic.co/t/configure-connections-using-transportclient/17873/3 "2017-05-16T08:01:46Z")

</div>

@spinscale Is the default number of connections made by the transport client is 14? Additionally, will a transport client only connect to one node at a time the cluster or multiple?

---

<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:00pm UTC](https://discuss.elastic.co/t/configure-connections-using-transportclient/17873/4 "2017-07-05T22:00:23Z")

</div>


