Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Programmer > getLocalHost re...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 52685 of 53789
Post > Topic >>

getLocalHost returns a strange IP

by Aaron Fude <aaronfude@[EMAIL PROTECTED] > May 13, 2008 at 09:28 AM

Hi,

The result of calling

      java.net.InetAddress.getLocalHost().getHostAddress()

on my machine is:

      169.254.221.10

Now, my machine is on a LAN with IP 192.168.1.3 and the external
router IP is something altogether different.

Where in the world does "169.254.221.10" come from?

Thanks!

Aaron
 




 6 Posts in Topic:
getLocalHost returns a strange IP
Aaron Fude <aaronfude@  2008-05-13 09:28:54 
Re: getLocalHost returns a strange IP
RedGrittyBrick <RedGri  2008-05-13 17:46:28 
Re: getLocalHost returns a strange IP
Kevin McMurtrie <mcmur  2008-05-13 23:34:48 
Re: getLocalHost returns a strange IP
Dave Miller <dave@[EMA  2008-05-13 18:21:56 
Re: getLocalHost returns a strange IP
"Arved Sandstrom&quo  2008-05-13 19:37:53 
Re: getLocalHost returns a strange IP
Wayne <nospam@[EMAIL P  2008-05-13 23:47:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 23:22:29 CDT 2008.