Solved

Firewall

Posted on 2004-03-21
6
133 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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 …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

747 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

13 Experts available now in Live!

Get 1:1 Help Now