Inetaddress.getLocalHost()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Inetaddress.getLocalHost()

PRITHU
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.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"