Client: Can't connect to local server when offline/no network available
Using Firebird 5.0.1 and Windows 11 When the Firebird Server is installed locally and there's either no network available or the network card is disabled, a connection with the computer name as host is not possible. (E.g. computer name is "DESKTOP-12345"). In this case getaddrinfo returns 11004 (WSANO_DATA) and the connection fails. This is caused by the AI_ADDRCONFIG flag in gai_hints.ai_flags (inet.cpp). When this flag is not set, everything works as expected, both when the server is on another machine or local. The problem happens e.g. when your're using a notebook with WLAN which loses the network connection when travelling etc. See also this workaround in Chromium which had the same issue a long time ago Maybe this should also be done here for Windows builds, to conditionally disable this flag?