Subject Re: [firebird-php] linking databases on two different machines
Author Jochem Maas
Jiri Cincura wrote:
> On 29.3.2006 0:07 nwo_2013 wrote:
>>I have machine number 1 (Windows 2003) which acts as a file and
>>application server for the local network, also I´ve got machine number
>>2 (Linux) that is used as a web server (Apache). I need to set up a web
>>page on machine 2, which queries a database located on machine 1.
> And using
> ibase_connect('machine1:database', 'user', 'pass', 'UNICODE_FSS');

using the above requires 2 things:

1. there is an alias 'database' defined on machine2 in firebird/aliases.conf
2. port 3050 is open to incoming connections ... and possibly port 2401 - but
I can't remember for sure (It needs to be forwarded when tunneling a firebird
connection over SSH)

don't forget that you'll need to reconfigure whatever routers/firewalls
you have between the 2 machines in order to let the firebird traffic through.

> on machine2 isn't suitable?