Subject | RE: [firebird-support] gd2_db conflict on services file |
---|---|
Author | Paul Mercea |
Post date | 2006-02-17T07:33:08Z |
Hi
You should specify the port when create connection string. Default port for
Firebird is 3050.
Syntax looks like servername:port:/path/to/database
Regards
Paul
-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Cao Ancoinc
Sent: Friday, February 17, 2006 10:02 AM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] gd2_db conflict on services file
Anco Header StationeryHi all
I have 2 firebird servers running
172.19.0.2 - local
172.19.0.4 - remote
I have applications that connect to either server with no problem
After installing Apache and PHP the following line was added to services
gds_db 3060/tcp as per the installation script
This works fine for developing my web pages and access to Firebird is fine
on Apache/PHP however
when I try my exe apps, "No connection could be made because the target
machine actively refused it" is displayed.
Commenting out the gds_db line in services solves the problem for my exe's
but then my web pages get
"Could not connect: Unable to complete network request to host "localhost".
Failed to establish a connection. No connection could be made because the
target machine actively refused it. "
Has anyone else come across this problem or am I missing the obvious
Regards
Cao
[Non-text portions of this message have been removed]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://firebird.sourceforge.net and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !
Also search the knowledgebases at http://www.ibphoenix.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links
You should specify the port when create connection string. Default port for
Firebird is 3050.
Syntax looks like servername:port:/path/to/database
Regards
Paul
-----Original Message-----
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Cao Ancoinc
Sent: Friday, February 17, 2006 10:02 AM
To: firebird-support@yahoogroups.com
Subject: [firebird-support] gd2_db conflict on services file
Anco Header StationeryHi all
I have 2 firebird servers running
172.19.0.2 - local
172.19.0.4 - remote
I have applications that connect to either server with no problem
After installing Apache and PHP the following line was added to services
gds_db 3060/tcp as per the installation script
This works fine for developing my web pages and access to Firebird is fine
on Apache/PHP however
when I try my exe apps, "No connection could be made because the target
machine actively refused it" is displayed.
Commenting out the gds_db line in services solves the problem for my exe's
but then my web pages get
"Could not connect: Unable to complete network request to host "localhost".
Failed to establish a connection. No connection could be made because the
target machine actively refused it. "
Has anyone else come across this problem or am I missing the obvious
Regards
Cao
[Non-text portions of this message have been removed]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Visit http://firebird.sourceforge.net and click the Resources item
on the main (top) menu. Try Knowledgebase and FAQ links !
Also search the knowledgebases at http://www.ibphoenix.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Yahoo! Groups Links