Subject | Re: [firebird-support] Help!!! - Problem with Firebird Embeded |
---|---|
Author | Mark Rotteveel |
Post date | 2014-09-14T12:20:53Z |
On 14-9-2014 14:11, Lester Caine lester@... [firebird-support]
wrote:
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).
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
wrote:
> On 14/09/14 12:46, Adam adam395@... [firebird-support] wrote:A common problem? I don't actually think so. The question you link to
>> 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.
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 nextThe original question is about use of embedded. The fact that it is
> 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 ...
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