Subject Re: [firebird-support] gds_db 3050/tcp error "Failed to locate host machine. Undefined service gds_db"
Author Helen Borrie
At 01:57 AM 23/07/2006, you wrote:
>Hello all,
>I thought I would post this to the forums for anyone using Firebird on
>Windows with Codecharge or other IDEs.
>The link to the support case is here:

The link doesn't seem to be accessible by non-members.

>My question for the Firebird team, is related to the last comment in
>this case, why would I manually have to add the gds_db 3050/tcp entry
>to the SERVICES file in Windows.
>It is funny because IBExpert had not problem connecting without it, but
>the IDE did.
>Is this something that Firebird should add on install? Or is this a
>Codecharge issue? Any feedback would be appreciated.

It looks like a Codecharge issue (it's not a Firebird error
message). It does depend on version, though. While Fb 1.5 and later
default the host gds_db port to 3050 (thus making the Services entry
optional) the older ones (Fb 1.0.x and Interbase) require it. The
relevant installers behave accordingly.

(See the v.1.5.3 release notes for info about how you can configure
it to a different port).

>PS: this is using PHP/Apache/Firebird on Windows

If you don't get any more answers on this list (or even if you do)
you could post a message to the firebird-php list to check whether it
might be an issue with the PHP driver version you have.

It would also be interesting to check whether CC accepts a TCP
connection string that includes the host port: