On April 8th, Jon Reinberg posted a message about InetAddress.getByName.  I
get the same error. Here are the vitals.

Running Win95 w/196MB memory - JDK 1.2 - Apache 1.3.4 (Win32) built
1/10/99 - JServ 1.0b3 jar and config files overlayed on 1.0b2 install.

I make the call

    InetAddress address = InetAddress.getByName (serverName);

and get the exception java.net.UnknownHostException.  The serverName
contains the name of my local machine.  I have no DNS, but have it in my
host table.  ping will resolve it successfully.

Any thoughts?

GregM.



----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to