Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2005 22:48:20 -0800 (PST)
From:      PRITHU <prithula@yahoo.com>
To:        freebsd-java@freebsd.org
Subject:   Inetaddress.getLocalHost()
Message-ID:  <20051128064820.2432.qmail@web52206.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051128064820.2432.qmail>