hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhavna b <contact.bhav...@gmail.com>
Subject Help on Connection timed out: connect
Date Wed, 15 Apr 2009 15:41:29 GMT
HI all,
        I am using HtttClient3.1 to talk to a server.
Both the server and Client has two NICs
for example,
server and
client  and

Client accessing server over 140 works fine.
Client accessing server, the same servlet, one but does not work.

I get the below exception when calling throught HttpClient,
I/O exception (java.net.ConnectException) caught when processing request:
Connection timed out: connect
org.apache.commons.httpclient.HttpMethodDirector - Retrying request
it retries for 4 attempts and throws this error after 20-21 seconds, I did
not set any timeout to HttpClient,  I tried doing that, but, I get different
exception,  java.net.SocketTimeoutException: Read timed out.

But, from Browser, the same url works (accessing the same servlet on both
140 and 10 works).

Could anybody pleas tell what are the other arameters should I look into,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message