Subject Re: [IBO] Firebird IBOConsole connection parameters
Author Helen Borrie
At 08:38 AM 2/10/2003 +0000, you wrote:

>I am using FB and IBOConsole.
>I test connection with dummy port values.
>But connection is OK.
>You can see the IBOConsole connection test result with port parameter
>following lines below:
>============================================
>
>Attempting to connect to:
>localhost/69769875908:C:\KES\KESDB.GDB
>Version : WI-T6.3.0.3744 Firebird 1.5 Release Candidate 4
>
>Attaching ... Passed!
>Detaching ... Passed!
>
>Server Communication Test Passed!
>
>============================================
>
>The client can allways connect to FB server undependend on port
>number given by connection string. I think that there is something
>like binding. I checked services file. It is normal.

It is unclear what you mean by "It is normal". The port number you are
passing in that string is not a valid TCP/IP port.

The default port for the client/server channel is 3050. Luckily for you,
the client is ignoring that invalid port and just passing to the next
source of inquiry, which is currently the firebird.conf configured port (if
it is not 3050) and after that, 3050 by default.

In order to use a different port - which will take precedence over all
other attempts to open the channel - both the client and the server need to
know about it. The server has to be listening on the other port (set this
up in firebird.conf or in the Services file, gds_db tcp/3055 or whatever
you have opened for the purpose. That done, you can either place a
matching entry in the client's Services file, or you can use the connection
string to designate the client port.


>Please could you explain me why and how?

This forum is for IBO users to ask questions about using IB Objects.

Incidentally, you are not going to get a high level of appreciation for
asking RC 4 support questions in any forum. RC 4 is an obsolete field
test. Firebird has released two further field tests since then. You
should get RC 6 - which is STILL a field test. You should address non-IBO
problems to firebird-support and suspected bugs to firebird-devel.

Helen