LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 04-02-2006, 06:58 PM   #1
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
java IP address finder


Does anyone know if there is a class that will find the address of a machine behind a router/firewall? Like if your machine is on a private network 192.168.0.0/255 and your firewall etho is ip address 24.63.214.23, how would you get the 24. address?

I have looked through the API briefly and ran by INet4Address and have not seen anything that might work.

thanks
 
Old 04-02-2006, 08:10 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
You can open something on the Internet that tells you the IP address, like www.whatismyip.com
 
Old 04-02-2006, 09:35 PM   #3
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by spooon
You can open something on the Internet that tells you the IP address, like www.whatismyip.com
True, but im trying to build something that can get the external IP address from within a network.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless broadcast finder linuxhippy Linux - Wireless Networking 1 07-31-2005 06:59 AM
KDE application finder? Whiskers Linux - Software 1 05-06-2005 08:04 PM
Mac like finder for linux bubagump17 Linux - Software 3 04-26-2005 04:50 AM
not used package finder darkleaf Linux - Software 4 10-11-2004 02:40 AM
Java code to get inet address in linux qiye Programming 1 09-15-2004 01:23 PM


All times are GMT -5. The time now is 12:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration