Hello Jon,

[EMAIL PROTECTED] wrote on 25.05.2005 09:59:52:

> java.net.NoRouteToHostException: No route to host: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at com.ibm.jsse.JSSESocketFactory.createSocket(Unknown Source)
>
> Any ideas on why its not actually managing to authenticate? I guess this 

> is the reason why it says "can't find route to host"

No, it's the other way round. The program cannot find a route to the host,
and if it can't connect to the host, how should it authenticate against 
it?

First, check the proxy settings you specify for HttpClient. There is
nothing in your code, so HttpClient may be trying to connect to the
target host directly.

hope that helps,
  Roland

Reply via email to