Solved

Firewall

Posted on 2004-03-21
6
134 Views
Last Modified: 2010-03-31
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.
0
Comment
Question by:pragalathanm
  • 3
6 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 125 total points
ID: 10644587
While there's not guarantee that you can run behind *any* firewall, this discusses proxy settings:

http://www.mindprod.com/jgloss/proxy.html#PROXY


and this is about client/server:

http://java.sun.com/docs/books/tutorial/networking/sockets/index.html
0
 
LVL 9

Expert Comment

by:mmuruganandam
ID: 10646825
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
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10653050
That was what was at the link i posted, amongst more info
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 10903861
:-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now