Subject Re: [firebird-php] Cant connect to server
Author marius adrian popa
On Tue, Apr 5, 2011 at 1:03 PM, Ханжиев Денис <xdenser@...> wrote:
> Hello all,
> I have strange problem
>
> Cent OS 5.5
> Apache/2.2.3 (CentOS)
> PHP Version 5.3.6
> php-interbase 5.3.6
>
> Apache gives me
> /var/log/httpd/error_log
> PHP Warning:  ibase_connect(): Unable to complete network request to host
> "localhost". Failed to establish a connection.
>
> While it successfully connects to DB with same credintials when i run script
> from command line. Even with sudo -u apache.
>
> can anybody help?

check if the firebird port is open
telnet localhost gds_db
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
quit
Connection closed by foreign host.

And check the
RemoteBindAddress
i would put to listen only on 127.0.0.1