Subject | Re: [Firebird-Java] Re: still no connection |
---|---|
Author | Gonzalo Odiard |
Post date | 2005-04-27T13:59:10Z |
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:
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:
>[Non-text portions of this message have been removed]
>
>>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
>
>
>
>
>
>
>
>
>