Subject Re: linking databases on two different machines
Author nwo_2013
--- In firebird-php@yahoogroups.com, Jochem Maas <jochem@...> wrote:
>
> 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?
> >
>

Thanks to both of you guys, I´ll try the alias database approach and
see where it gets me.

As for Jiri's suggestion of using machine2, the problem is we don't
want to use it for the web server, since it hosts many propietary
applications and is used to store sensitive company information.

I'll let you know how it unfolds...