# Cannot connect to http

**URL:** <https://www.ruby-forum.com/t/cannot-connect-to-http/124185>\
**Category:** Ruby\
**Created:** [December 26, 2007, 7:44am UTC](https://www.ruby-forum.com/t/cannot-connect-to-http/124185 "2007-12-26T07:44:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pradeepta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ee59a6/32.png) [@pradeepta](https://www.ruby-forum.com/u/pradeepta)\
**Post date:** [December 26, 2007, 7:44am UTC](https://www.ruby-forum.com/t/cannot-connect-to-http/124185/1 "2007-12-26T07:44:07Z")

</div>

Hi ,  
I am trying to get response from a site but getting error like

A connection attempt failed because the connected party did not properly  
respond after a period of time  
or established connection failed because connected host has failed to  
respond. - connect(2)

I am not able to connect to any site . can anyone tell me what may be  
the problem and solution ?
