Nathan Meyers wrote:
> 
> [EMAIL PROTECTED] wrote:
> 
> > dear all
> >        how can i get the localhost ip in java .
> 
> InetAddress.getLocalHost()
> 

But that would sometimes just give me 127.0.0.1.  I never figured out
what made it work on some runs but not on others. I thought it might be
the security manager but it turned out it wasn't.


-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://www.targabot.com


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to