Hi there

I am trying to retrieve the IP of a server but 
InetAddress.getLocalHost().getHostAddress() returns 127.0.0.1
instead of the real IP.  I am running Fedora Core 4 with JDK1.4.2. 

I know this is an issue on linux but is there workaround for this, 
because I dont want to edit the etc/hosts file.

Any help would be appreciated

cheers

-- 
Mogammad Noordien
084 5918506



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
-~----------~----~----~----~------~----~------~--~---

Reply via email to