Solved

Firewall

Posted on 2004-03-21
6
138 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
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.

695 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