Subject Re: [firebird-support] Help!!! - Problem with Firebird Embeded
Author Lester Caine
On 14/09/14 13:20, Mark Rotteveel mark@...
[firebird-support] wrote:
> On 14-9-2014 14:11, Lester Caine lester@... [firebird-support]
> wrote:
>> On 14/09/14 12:46, Adam adam395@... [firebird-support] wrote:
>>> Engine Code :335544721
>>> Engine Message:
>>> Unable to complete network request to host "localhost"
>>> Failed to establish connection.
>>> So yes FlameRobin provides more information but still I cannot
>>> understand why....
>> This means that your machine does not have the network configured
>> properly. Quite a common problem with windows these days.
> A common problem? I don't actually think so. The question you link to
> below is also not very informative; and that is problem is probably more
> related to the fact that by default localhost resolves to ::1 (IPv6)
> instead of (IPv4).

That 'localhost' has been a recurring problem in the past is a simple
fact. I've got notes on this list from many years back about trying the
machines IP address rather than localhost when there are windows
connection problems.

> > SO the next
>> question is ... is this machine actually on a network? If so
>> may help ...
> The original question is about use of embedded. The fact that it is
> attempting to connect through localhost means that a hostname
> (localhost) is included in the connection string, which results in
> fbembed.dll acting as a normal fbclient, instead of using its internal
> server to access the database.
> The real question is if this happens because the application itself
> specifies the hostname, or because the connection component
> automatically adds localhost if no hostname is specified.

Adam had switched to Flamerobin and it was this which gave the more
useful error report. Flamerobin certainly defaults to using localhost so
the alternative track IS the alternate ways of accessing 'embedded', and
I thought Flamerobin tested them - but obviously I'm mistaken? I did
think localhost would access a local embedded client? But it has been
some considerable time since I actually used it.

Lester Caine - G8HFL
Contact -
L.S.Caine Electronic Services -
EnquirySolve -
Model Engineers Digital Workshop -
Rainbow Digital Media -