It's OK, I found the mismatch, Kaspersky's mismatch in fact. He blocks my
HttpRoute throw a specific network interface, except the localhost's one.

Assuming I'm going to test my app into Linux .... for sure. :working:




chdupuy wrote:
> 
> As mentioned in subject, I've been in trouble using
> ConnRoutePNames.LOCAL_ADDRESS with HttpClient parameters. I've three
> different network interfaces and I want my application use both of them
> randomly.
> 
> 
> Unfortunately, my application throws a
> org.apache.http.conn.HttpHostConnectException  when I specify a particular
> interface. Here a part of my logs : 
> 
> 
> DEBUG Thread-1 org.apache.http.impl.client.ClientParamsStack -
> 'http.route.local-address': rangiroa/192.168.1.22
> DEBUG Thread-1 org.apache.http.impl.conn.SingleClientConnManager - Get
> connection for route
> HttpRoute[rangiroa/192.168.1.22->{}->http://www.google.fr]
> DEBUG Thread-1 org.apache.http.impl.conn.DefaultClientConnection -
> Connection shut down
> 
> 
> I know the connection cannot be done, but why? What am I doing wrong?
> 
> 
> Thx in advance for anybody who will drive me on the right way.
> 

-- 
View this message in context: 
http://old.nabble.com/HttpRoute-problem-using-ConnRoutePNames.LOCAL_ADDRESS-tp27534295p27544296.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to