# Facing exception while connecting to Es .. (org.apache.http.conn.ConnectTimeoutException)

**URL:** <https://discuss.elastic.co/t/facing-exception-while-connecting-to-es-org-apache-http-conn-connecttimeoutexception/149540>\
**Category:** Elasticsearch\
**Created:** [September 22, 2018, 11:01am UTC](https://discuss.elastic.co/t/facing-exception-while-connecting-to-es-org-apache-http-conn-connecttimeoutexception/149540 "2018-09-22T11:01:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnrabi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johnrabi/32/67223_2.png) [@johnrabi](https://discuss.elastic.co/u/johnrabi)\
**Post date:** [September 22, 2018, 11:01am UTC](https://discuss.elastic.co/t/facing-exception-while-connecting-to-es-org-apache-http-conn-connecttimeoutexception/149540/1 "2018-09-22T11:01:14Z")

</div>

Hi,

can anyone help me how to resolve this issue?

i am connecting es through jsetclient ..facing exception like

org.apache.http.conn.ConnectTimeoutException: Connect to 47.147.206.52:14001 failed: connect timed out

Caused by: java.net.SocketTimeoutException: connect timed out  
at java.net.PlainSocketImpl.socketConnect(Native Method)  
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)

Thanks in advance

---

<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:** [October 20, 2018, 11:01am UTC](https://discuss.elastic.co/t/facing-exception-while-connecting-to-es-org-apache-http-conn-connecttimeoutexception/149540/2 "2018-10-20T11:01:24Z")

</div>

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