Subject Re: [firebird-tools] Database Workbench v3.4.4 Lite - failure to connect
Author Michael Ludwig
Helen Borrie schrieb am 18.05.2010 um 14:30:39 (+1200):
> At 11:22 AM 18/05/2010, you wrote:
> >Michael Ludwig schrieb am 06.05.2010 um 00:21:21 (+0200):
> >
> >> Unable to complete network request to host "localhost".
> >> Failed to locate host machine.
> >> Undefined service 30525/tcp
> >>
> >> This is for the following "Server Registration Properties":
> >>
> >> * Alias: fb25
> >> * Host: localhost/30525
> >> * Protocol: TCP/IP
> >
> >It appears that you have to use the setting from the services file:
> >
> > C:\WINDOWS\system32\drivers\etc\services
> >
> >So, in my case, "localhost/fb25" instead of "localhost/30525".
>
> Of course. You don't configure *both* RemoteServiceName and
> RemoteServicePort...it's one or the other. And if you have
> RemoteServiceName defined, you need to provide that, not the
> port no. that it is linked to via Services; otherwise the
> engine will use gds_db (if it is in Services) or the default
> port no. 3050. RemoteServiceName takes precedence over
> RemoteServicePort.

Well, you say "of course", but it wasn't obvious to me at all. I
saw the server listening on port 30525, as I configured it to do,
so my assumption was that I could simply connect to that port, as
with any other Inet service. (Even though the host/port:db syntax
is a bit weird compared to host:port/db, but it's still pretty
good compared to other data source names, or connection strings.)

Unable to complete network request to host "localhost".
Failed to locate host machine

And this error message isn't exactly leading you to the issue..
--
Michael Ludwig