Subject Re: [Firebird-Java] Problem to conect locally with network cable disconected
Author Niki Ivanchev
Francisco Antonio Vieira Souza wrote:

>Why when I have the network cable disconected and try to execute this
>using localhost I get this exeception? (DriverExample.java which comes
>with Jaybird)
>
>Using this URL:
>String databaseURL =
>"jdbc:firebirdsql:localhost/3050:C:\\Firebird_1_5\\examples\\employee.fdb";
>
>Firebird JCA-JDBC driver version 1.5 registered with driver manager.
>Unable to establish a connection through the driver manager.
>Resource Exception. Unable to complete network request to host "localhost".
>Reason: Unable to complete network request to host "localhost".
>Error Code: 335544721
>SQL State: HY000
>Closing database resources and rolling back any changes we made to the
>database.
>
>
>
Does you localhost resolv to 127.0.0.1? Are you database server bind to
loopback device?
Niki