1.50.39

interbase.interclient
Class UnknownHostException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.sql.SQLException
                    |
                    +--interbase.interclient.SQLException
                          |
                          +--interbase.interclient.UnknownHostException

public final class UnknownHostException
extends interbase.interclient.SQLException

A TCP/IP socket connection cannot be established to an unknown host. Your local TCP/IP host table configuration may not be able to recognize the specified host name.

Did you specify a valid host in your database URL? And, are you able to ping the host machine? If the target server machine's host name is not recognized, then try using it's IP address. If you are attempting a localhost connection, and 'localhost' is not recognized, then try using the loopback TCP/IP address of 127.0.0.1.

The error code associated with this exception is ErrorCodes.unknownHost.

Since:
Extension
See Also:
Serialized Form

Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 


1.50.39

Send comments or suggestions to icsupport@interbase.com