Link to home
Start Free TrialLog in
Avatar of tutran
tutran

asked on

Bypassing proxy for certain urls.

Hi all,

I have a program that connect to different hosts.  Certain hosts will require proxy and certain hosts will need to use intranet directly.  However, when I set proxy by doing this, I have to use proxy all the time.

    System.setProperty("https.proxyHost", "myproxy");
    System.setProperty("https.proxyPort", "80");

Any suggestion?
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial