Subject Re: [firebird-support] Multiple instances of firebird not working
Author Helen Borrie
At 12:45 p.m. 31/07/2015, preschathu@... [firebird-support] wrote:


>I have an 3rd party application running firebird 1.5.
>
>
>I want to install firebird 2.5 instance, with my application, without affecting the other app.
>
>instsvc install -auto -superserver -guardian -name secondservice
>instsvc start -name secondservice
>I also edited the firebird.conf RemoteServicePort parameter to be 3060 before starting the service
>
>
>Service is up and running. Running netstat on command line did not show any services listening on port 3060 though.

Did you open that port in the firewall?

Port 3060 is likely to be a bad choice (a) because it could be in use by another application, or even by Fb 1.5 as its RemoteAuxPort (for events) and (b) it's never a good idea to use a low port number because the high risk of conflicting. A better choice is to use a number in the 10000 - 49000 range, e.g., 13050 or 30500.

>I was unable to connect to the second instance using
>
>isql localhost\secondservice:employee

The protocol is
localhost\3060:employee

The name that you devised for the second server instance is *not* the same as the symbol represented by RemoteServiceName. They are two totally different things. If you had assigned a different RemoteServiceName (such as e.g., fb_db instead of gds_db, the symbol for port 3050) then you could use that symbol in lieu of the port number. The port number is the right one to use in your case, as it will override any service port name symbol.

Check the firewall and open the port if necessary. Test whether you connect using the correct protocol. If not, then redo your RemoteServicePort assignment using a higher port number. (You could also look in firebird.conf in the Fb 1.5 server installation to see whether it has earmarked port 3060.)

Helen