# Number of Transport Client for same Elasticsearch Process

**URL:** <https://discuss.elastic.co/t/number-of-transport-client-for-same-elasticsearch-process/187987>\
**Category:** Elasticsearch\
**Created:** [June 28, 2019, 7:56am UTC](https://discuss.elastic.co/t/number-of-transport-client-for-same-elasticsearch-process/187987 "2019-06-28T07:56:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prashant\_Rana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashant_rana/32/42952_2.png) [@Prashant\_Rana](https://discuss.elastic.co/u/Prashant_Rana)\
**Post date:** [June 28, 2019, 7:56am UTC](https://discuss.elastic.co/t/number-of-transport-client-for-same-elasticsearch-process/187987/1 "2019-06-28T07:56:01Z")

</div>

Hi,

I saw this [answer](https://discuss.elastic.co/t/how-many-transport-clients-can-a-elasticsearch-cluster-have/60252/2) but it is still not clear if it is okay to have more than one transport client to the same ES server?

I am getting `general node connection failure` exception on both the applications which has the tranport client connected to the ES process and then `[elasticsearch[_client_][transport_client_boss][T#2]] ERROR org.elasticsearch.transport.netty4.Netty4Utils - fatal error on the network layer`

Any help is appreciated.

---

<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:** [June 28, 2019, 8:11am UTC](https://discuss.elastic.co/t/number-of-transport-client-for-same-elasticsearch-process/187987/2 "2019-06-28T08:11:15Z")

</div>

Yes but you should use only the rest client as the TransportClient will be removed in 8.0

---

<div class="post-metadata">

**Author:** ![Prashant\_Rana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashant_rana/32/42952_2.png) [@Prashant\_Rana](https://discuss.elastic.co/u/Prashant_Rana)\
**Post date:** [June 28, 2019, 8:23am UTC](https://discuss.elastic.co/t/number-of-transport-client-for-same-elasticsearch-process/187987/3 "2019-06-28T08:23:22Z")

</div>

Thank you for the response.  
For now we are using 5.6.4 version.

Any idea about the the exception?

---

<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:** [June 28, 2019, 8:36am UTC](https://discuss.elastic.co/t/number-of-transport-client-for-same-elasticsearch-process/187987/4 "2019-06-28T08:36:45Z")

</div>

Nope. Probably went wrong while the response was sent may be?

BTW 5.x is EOL. You should go to 6.8 or 7.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 26, 2019, 8:36am UTC](https://discuss.elastic.co/t/number-of-transport-client-for-same-elasticsearch-process/187987/5 "2019-07-26T08:36:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
