I'm running 1.1.5b7 under Red Hat Linux (2.0.18 kernel) and find that
java.net.InetAddress.getLocalHost() throws a HostUnknownException when I'm
on a PPP connection.  This does not happen under Windows95 using the 1.1.6
JRE from Sun (ie. it works, and gives the PPP server-supplied IP addy).

Any suggestions? I need to get my PPP-based IP addy in my application.  I
tried getHostByName("localhost"), but that just returns 127.0.0.1 of
course. 

Sam Hokin | [EMAIL PROTECTED] | http://www.fusion.kth.se/~samh

Reply via email to