Subject Re: [firebird-support] Help!!! - Problem with Firebird Embeded
Author Mark Rotteveel
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 127.0.0.1 (IPv4).

> SO the next
> question is ... is this machine actually on a network? If so
> http://superuser.com/questions/713491/why-does-localhost-not-work-in-windows-8-1-but-127-0-0-1-does
> 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.

Mark
--
Mark Rotteveel