Link to home
Start Free TrialLog in
Avatar of pragalathanm
pragalathanm

asked on

Firewall

Hi!
    I want to how to write a client server model in Java that run behind any firewall (proxy server used in LAN)

Thank you!

Pragalathan M.
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
System.setProperty("http.proxySet", "true");
System.setProperty("http.proxyHost", <proxy host>);
System.setProperty("http.proxyPort", <proxy port>);


This is for HTTP Proxy setting.  Once you done this, your JVM will take care of routing your calls to the proxy.

For more information, you can look at
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html



Regards,
Muruga
That was what was at the link i posted, amongst more info
:-)