Firebird Documentation Index → Firebird 1.5.6 Release Notes → Configuring the Port Service on Client and Server → Using the -p switch override |
Please note that this switch is available in Firebird 1.0.x, too, but was previously undocumented.
Starting the server with the optional -p switch enables you to override either the default port number (3050) or the default port service name (gds_db) that the server uses to listen for connection requests. The switch can override one, but not both.
From Firebird 1.5 onward, you can use the -p switch in combination with a configuration in firebird.conf to enable an override to both the port number and the port service name.
The command-line syntax for starting a server that applications are going to access through TCP/IP is as follows:
server-command <other switches> -p port-number | service-name
For example, to start the Superserver as an application and override the service name gds_db with fb_db:
fbserver -a -p fb_db
Or, to override port 3050 to 3051:
fbserver -a -p 3051
Firebird Documentation Index → Firebird 1.5.6 Release Notes → Configuring the Port Service on Client and Server → Using the -p switch override |