Subject Re: [Firebird-Java] Eclipse I cant connect
Author Helen Borrie
At 08:29 AM 20/04/2008, you wrote:
>Hello,
>
>I receipt this error when I try to connect:
>
>org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544721. Unable
>to complete network request to host "localhost".
>Reason: Unable to complete network request to host "localhost".
>
>My config: Ubuntu 7.10, Firebird 2.0.x Eclipse 3.3

Depends on some things that you don't tell us:

1. If you are using Classic then you need to have xinetd configured and running to attach via TCP local loopback; otherwise direct-connect is the only option

2. If xinetd is running for Classic or if you are using Superserver then

a) HostByName for localhost will work only if you have an entry defined for it in the hosts file; you should also check whether it is disabled in hosts.deny
b) you could try the localhost IP address instead: 127.0.0.1
c) your TCP/IP might be set up to accept only the configured hostname of the server
d) if your client is running on a virtual machine you cannot use a local loopback connection. Use the IP address or hostname of the box where Firebird is running

Helen