# Could Not Connect To Host Exception

**URL:** <https://discuss.elastic.co/t/could-not-connect-to-host-exception/20691>\
**Category:** Elasticsearch\
**Created:** [November 11, 2014, 3:28pm UTC](https://discuss.elastic.co/t/could-not-connect-to-host-exception/20691 "2014-11-11T15:28:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepak\_R\_K](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@Deepak\_R\_K](https://discuss.elastic.co/u/Deepak_R_K)\
**Post date:** [November 11, 2014, 3:28pm UTC](https://discuss.elastic.co/t/could-not-connect-to-host-exception/20691/1 "2014-11-11T15:28:50Z")

</div>

Hi,

I am using php elasticsearch client , almost very often I see this  
exception

Elasticsearch\Common\Exceptions\Curl\CouldNotConnectToHost

Am I losing my data ?  
Our server doesn't have high traffic . Its max 50 request per second in any  
time.

Is there any default retry logic has implemented in php client ?

thanks  
dpak

--  
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/dc8cc54c-ae85-4da3-ae82-4772bfcd5a37%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/dc8cc54c-ae85-4da3-ae82-4772bfcd5a37%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:50am UTC](https://discuss.elastic.co/t/could-not-connect-to-host-exception/20691/2 "2017-07-06T00:50:48Z")

</div>


