Firewalls


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Firewalls

  1. #1
    Join Date
    Oct 2004
    Posts
    151

    Question Firewalls

    Hi everyone,

    I am trying to set the properties so that i can reach
    URL's using the Java URL class but usually i use this if there is a proxy

    Code:
    System.setProperty("http.proxyHost","proxy");
    System.setProperty("http.proxyPort","80");
    but after visiting some sites they said that if i want to connect to a URL
    outside a firewall(not sure if proxy and firewall are the same thing) i
    must do this and not the above code i listed
    but the one below

    Code:
    System.setProperty("firewallHost", "proxy");
    System.setProperty("firewallPort", "80");
    The thing is i can't seem to find any information on
    Sun's site or on google using the firewallHost property. Currently i don't
    use a firewall so i can't really test this code out and would really
    appreciate any insight from anyone about this.

    I also have a feeling that the firewallHost property is
    an old property that isn't used anymore but the thing is i can't confirm
    it.

    From what i know is that if i have to reach a url via a
    proxy i would usually use the first code i listed above but what about
    reaching a url via a firewall. Aren't the codes the same as the first code
    i listed above?? Someone correct me if i am wrong

    If they are not what is the correct way to do it?
    Links to sites or sample codes would be helpful

    Any help is greatly appreciated

    Thank You

    Your Sincerely

    Richard West

  2. #2
    Join Date
    Jul 2005
    Posts
    22
    I have done a few netwok related programs and now have a simple test chat that works on the internet, and what I've learned from this (though it is not URL based) is that as long as the computer that you are connecting TO is not behind a router or firewall, there is no problem. It does not seem to matter wether or not the user's computer is behind a filewall, proxy, or router... only the server computer. I will however examine the JavaDocs more closely and post a little later on with a more URL related answer. But for the time being, I hope this might help.

  3. #3
    Join Date
    Jul 2005
    Posts
    3

Similar Threads

  1. Re: Why REST is a better way to do Web Services
    By Michael D. Kersey in forum .NET
    Replies: 2
    Last Post: 08-30-2002, 12:05 AM
  2. Why Web Services are Important
    By Constance J. Petersen in forum .NET
    Replies: 13
    Last Post: 08-28-2002, 10:06 PM
  3. XML Through Firewalls
    By Dave Smith in forum XML
    Replies: 6
    Last Post: 03-09-2001, 09:14 AM
  4. DCOM over the internet
    By Tim Archer in forum Enterprise
    Replies: 2
    Last Post: 08-21-2000, 12:10 AM
  5. Re: COM Internet services
    By Tom Shreve in forum Enterprise
    Replies: 0
    Last Post: 04-07-2000, 08:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center