Subject Re: [Firebird-Java] Re: still no connection
Author Gonzalo Odiard
You must define localhost in your host file (in windows may be in
c:\windows\system\, but chage with the versions).
This file is a list of ip numbers and name of machines.
You must add a line
127.0.0.1 localhost

Another way is change your connection url

jdbc:firebirdsql:127.0.0.1/3050:/D:\\databases\\test\\B2.gdb

Gonzalo

bertinkiekebosch wrote:

>
>
>>perhaps
>>
>>jdbc:firebirdsql:localhost/3050:/D:\\databases\\test\\B2.gdb
>>
>>works
>>
>>
>>
>
>Ok, log looks better now:
>
>jdbcUrl -> jdbc:firebirdsql:localhost/3050:/D:\databases\test\B2.gdb,
>
>
>but still an error:
>
>org.firebirdsql.jdbc.FBSQLException: Resource Exception. Unable to
>complete network request to host "myhostname".
>Failed to locate host machine.
>Undefined service D/tcp.
>
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>


[Non-text portions of this message have been removed]