Subject INET/INET_connect: gethostbyname failed, error code = 2
Author k_smith_000
Hello guys!

Recently I'm receiving following error messages in my application:
Unable to complete network request to host "C"

In firebird.log file I've observed that following error message are
connected with the one stated above:
INET/INET_connect: gethostbyname failed, error code = 2

Suprisingly, I'm getting those messages only when client is connecting
from computer with Win2000/Win2003 installed. When I switch to WinXP,
everything works like a dream!

When I've defined host C to point to 127.0.0.1 address, error message
has changed:
I\O error for file \Program files\Firebird\Firebird_1_5\security.fdb
To be honest, I'm connecting to totally different database;)


On Firebird site I've found registered bug #571026, in which it is
stated that "gethostbyname was not working properly". I don't know if
it's connected to my problem...


I'm using Firebird 1.5.2 Classic server on linux.

Any help would be appreciated!

Kindly regards,
Kevin Smith