JRE proxy bypass for local addresses always bypasses proxy
858990May 2 2011 — edited May 3 2011Hi all,
I'm currently dealing with an issue with the proxy configuration in java.
Situation: I need a proxy server to connect to the internet, and I have some addresses configured in Internet Explorer that bypass the proxy.
example of the way I configured it : *.google.com;212.115.*;62.69.179.198
The address that I am trying to reach is not in the bypass list, or in any of the excluded ranges in the bypass list.
Initially I had java configured using browser settings. I thought it did not pick up the browser settings at all.
However after configuring the proxy manually in java it was still not working.
During the research I came to the conclusion that as soon as I enable the "bypass proxy server for local addresses" in Internet Explorer, or manually in java.
The JRE client automatically bypasses the proxy and is always using "proxy=direct" . As soon as I disable that feature it starts using the proxy server.
I have no idea why this is happening ?