Are you behind a proxy? If so you have to set the java properties..
System.getProperties().setProperty("http.proxyHost", "your proxy
host");
System.getProperties().setProperty("http.proxyPort", "your proxy
port");
> Are you behind a proxy? If so you have to set the java properties..
>
> System.getProperties().setProperty("http.proxyHost", "your proxy
> host");
> System.getProperties().setProperty("http.proxyPort", "your proxy
> port");
Don't forget to "set" the proxy to true!
http://jcsnippets.atspace.com/java/network-stuff/how-to-set-a-proxy.html
Best regards,
JC
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks