Inetaddress.getLocalHost()

PRITHU prithula at yahoo.com
Mon Nov 28 06:48:34 GMT 2005


Dear all,
        When I try to use Inetaddress.getLocalHost() in freeBSD 5.4 with ntive jdk1.4 i get the unknownhost exception. It works only when i set my hostname to 'localhost'. the code doesn't work with any other hostname.
   
  Thanks,
Prithula Dhungel.

		
---------------------------------
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.


More information about the freebsd-java mailing list