Subject | Re: [firebird-python] Linux 64 FB localhost connect trouble (re-posted from Support) |
---|---|
Author | John Fabiani |
Post date | 2005-01-07T00:47:10Z |
Did you take in to account the user (permissions)?
John
John
On Thursday 06 January 2005 13:18, fb4cdr wrote:
> This is a re-post from the support group. The problem popped up while
> attempting to get kinterbasdb to work. It's probably not a python
> issue, but it can't hurt, right?
>
>
> Hi, I'm having trouble connecting to Firebird using 'localhost' syntax.
>
> >From isql, "connect /opt/firebird/examples/employee.fdb;" works, but
>
> "connect localhost:/opt/firebird/examples/employee.fdb;" does not.
> The error message is "Statement failed, SQLCODE = -902. Unable to
> complete network request to host "localhost". -Failed to establish a
> connection. -Connection refused."
>
> This is a new installation of Firebird 1.5.2.4731-0.amd64 Classic
> Server and 64-bit Suse 9.1 linux on an Athlon 64. The firewall is
> turned off. There is an entry in hosts.equiv for
> "localhost.localdomain", and in hosts for "127.0.0.1 locahost'. "ssh
> localhost" works, as does "ping localhost", so it looks like this is
> an FB problem. I'm not very experienced with linux, though, so I may
> be wrong.
>
> Any help or ideas will be greatly appreciated,
>
> Steve