-Original Message-
From: allen petersen <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Wednesday, December 06, 2000 5:07 AM
Subject: Re: ip address in Linux
>InetAddress just does a lookup on your hostn
InetAddress just does a lookup on your hostname to determine your local host
address. If your host name resolves to 127.0.0.1 (for instance, if the first
entry in your /etc/hosts file maps 127.0.0.1 to your hostname rather than just
to localhost and localhost.localdomain), then that's the IP a
As far as I know, you cannot find out the address on a single machine.
If you have connections between two machines, you can use the socket
getInetAddress.
Alexander
On Tue, Dec 05, 2000 at 01:44:12PM -0500, Francisco Gongora wrote:
> Hello:
> I have this situation: in my local network I have se
Hello:
I have this situation: in my local network I have several machines in NT,
Solaris and Linux. My java application is running well in all the platforms
including Linux. One of the Linux machines, however, is reporting the local
address instead of the ip address when I do:
I