Subject | Firebird TCP/IP connection string error SQLCODE = -902 |
---|---|
Author | gio_online |
Post date | 2007-09-13T02:58:49Z |
Hello.
I installed FirebirdCS-2.0.1.1.12855-0.i686.tar.gz in Ubuntu 6.06.
I opened a root shell and followed the instructions from the
installation notes.
I got an error when I excute the following command as indicated in
the installation notes.
connect localhost:employee.fdb;
Statement failed, SQLCODE = -902
Unable to complete network request to host "localhost".
- Failed to establish a connection.
- Connection refused
I tried using:
connect 127.0.0.1:employee.fdb;
connect 127.0.0.1:employee;
connect localhost:/opt/firebird/examples/empbuild/employee.fdb;
connect 127.0.0.1:/opt/firebird/examples/empbuild/employee.fdb;
and these still didn't work.
I tried the following commands and it worked:
connect employee.fdb;
-- or --
connect employee;
But I want to connect thru TCP/IP connection string.
Any idea on what I have missed?
I wanted to use TCP/IP connection string because later on I want to
connect from a Windows remote client to Firebird database in Ubuntu
using ODBC.
Thank you very much for your time.
I installed FirebirdCS-2.0.1.1.12855-0.i686.tar.gz in Ubuntu 6.06.
I opened a root shell and followed the instructions from the
installation notes.
I got an error when I excute the following command as indicated in
the installation notes.
connect localhost:employee.fdb;
Statement failed, SQLCODE = -902
Unable to complete network request to host "localhost".
- Failed to establish a connection.
- Connection refused
I tried using:
connect 127.0.0.1:employee.fdb;
connect 127.0.0.1:employee;
connect localhost:/opt/firebird/examples/empbuild/employee.fdb;
connect 127.0.0.1:/opt/firebird/examples/empbuild/employee.fdb;
and these still didn't work.
I tried the following commands and it worked:
connect employee.fdb;
-- or --
connect employee;
But I want to connect thru TCP/IP connection string.
Any idea on what I have missed?
I wanted to use TCP/IP connection string because later on I want to
connect from a Windows remote client to Firebird database in Ubuntu
using ODBC.
Thank you very much for your time.