How to detect programmatically if my machine is behind a firewall

From: Swaroop Kumar (swaroop1967_at_yahoo.com)
Date: 03/05/04


Date: 5 Mar 2004 09:37:21 -0800

Hello:

   Is it possible to programmatically (in Java, of course) detect if
my machine is running behind a firewall or a router? I would
appreciate any help/tips/pointers/advice that you can provide. A
potentially silly way would be to send an HTTP request to
http://www.whatsmyip.com and compare the IP address in the response to
the one that I think I have (maybe determined by creating a socket?).

Thanks in advance,
Swaroop



Relevant Pages

  • How to detect programmatically if my machine is behind a firewall
    ... Is it possible to programmatically (in Java, ... my machine is running behind a firewall or a router? ... appreciate any help/tips/pointers/advice that you can provide. ...
    (comp.lang.java.programmer)
  • How to detect programmatically if my machine is behind a firewall
    ... Is it possible to programmatically (in Java, ... my machine is running behind a firewall or a router? ... appreciate any help/tips/pointers/advice that you can provide. ...
    (comp.lang.java.help)
  • Re: Just venting (totally OT)
    ... the ame router to get access to the net! ... I'm paranoid about opening up my firewall "just in case..." ... not visiting dodgy Websites. ... The protection that it does supply is also provided by ...
    (uk.people.support.depression)
  • Re: Just venting (totally OT)
    ... how long it plays for because it's all been ripped on to hard disc ... the ame router to get access to the net! ... I'm paranoid about opening up my firewall "just in case..." ... The protection that it does supply is also provided by ...
    (uk.people.support.depression)
  • Re: What is broken:McAfeee firewall or my router ????? Urgent, ple
    ... your computer regardless of what McAfee firewall said. ... If your router is ... warned about those ports being available right away if you had any of those ...
    (microsoft.public.security)