You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Vity <vi...@seznam.cz> on 2008/11/12 11:31:54 UTC

Problem with proxy settings in Internet Explorer

Hello,
I use HttpClient 3.1 on Windows XP + Java 1.6_10. 
I have following problem I can't figure out: 
Connections are always created with Internet Explorer browser proxy
settings, even if I don't set up proxy with HttpClient. 
I tried to disable using these settings by these switches:

        System.getProperties().put("proxySet", "false");
        System.getProperties().put("proxyHost", "");
        System.getProperties().put("http.proxyHost", "");
        System.getProperties().put("socksProxyHost", "");

but it doesn't help.
The problem is that connection created with browser settings does not work
at all (connection timeout).  I don't see proxyHost property in my System
properties either (although the system proxy is used). It looks like JDK bug
to me.

Does anyone know how to get rid off browser settings in the code? I can
switch off the settings in Control Panel, but the browser is affected too
(problems with applets). 

Thanks for your advices

-Vity


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org