Subject | Re: [firebird-php] How can I connect to a Firebird server on differnet port then 3050? |
---|---|
Author | Lester Caine |
Post date | 2007-07-07T05:00:56Z |
nicky6797 wrote:
have a Firebird server configured for 3050. What have you changed to set the
server up for 34534?
RemoteServiceName = gds_db will be used first, so if that was present in the
services file, 3050 will be used.
RemoteServicePort = 34534 is only used if there is no gds_db entry in the
services file.
http://www.firebirdsql.org/pdfmanual/Firebird-1.5-QuickStart.pdf ( Still a
good guide even for FB2 )
give an 'actively refused' message - 'Failed to locate' may actually mean that
you do not have local loopback service available on the windows machine. And a
ping 127.0.0.1 would confirm that.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk
MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Firebird - http://www.firebirdsql.org/index.php
> Hi, all. This question may seem trivial to some of you.I suspect that we are not at the 'php' stage at all here. It SOUNDS as if you
>
> How can I connect to a Firebird server which listens on a different
> port than the default one 3050?
have a Firebird server configured for 3050. What have you changed to set the
server up for 34534?
RemoteServiceName = gds_db will be used first, so if that was present in the
services file, 3050 will be used.
RemoteServicePort = 34534 is only used if there is no gds_db entry in the
services file.
> I tried everything. I'm customed to connect to such a server usingHave you tested this using the notes on the Firebird Quickstart quide
> the database string for example: "127.0.0.1/34534:c:\mybase.fdb"
http://www.firebirdsql.org/pdfmanual/Firebird-1.5-QuickStart.pdf ( Still a
good guide even for FB2 )
> "Warning: ibase_connect(): Unable to complete network request to hostIf you actually have a network connection and Firebird is running, this should
> "127.0.0.1". Failed to locate host machine. Undefined service 34534/tcp."
give an 'actively refused' message - 'Failed to locate' may actually mean that
you do not have local loopback service available on the windows machine. And a
ping 127.0.0.1 would confirm that.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk
MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Firebird - http://www.firebirdsql.org/index.php