Subject Re: [firebird-support] Windows 2003 server is actively refusing connection to client machines
Author Helen Borrie
At 12:45 AM 8/04/2005 +0000, you wrote:



>I have a client running windows 2003 small business server who has
>setup the firebird server on this machine and has clients connecting
>to the machine via a delphi application.
>
>When trying to make a TCP/IP connection to the server, the
>message, "No connection could be made because the target machine
>actively refused it" appears for all client machines.
>
>This happens even when the server attempts to connect to itself as a
>server. The server is able to connect using Local protocol.

Can the client on the host machine connect using TCP/IP local loopback
(localhost, IP address 127.0.0.1)?


>Using the netstat utility, I have been able to establish that even
>when the firebird server is started, there is no evidence of the
>server listening on the port 3050 (gds_db). There is no entry at all
>for this port.

If fbserver.exe is the server and the service is running, and you don't see
port 3050 displayed as LISTENING, then the port is firewalled.


>The firebird server has been uninstalled and re-installed several
>times without any change in this behaviour.
>
>I have experienced a similar problem on Win XP Service Pack 2 which
>has been able to be corrected by opening up port 3050 in the XP
>firewall.

Yup. Well, it's the same firewall in costlier clothes. If you are using
events in your app, you'll also need to open another port. To make this
non-random, make it port 30050 and set the RemoteAuxPort parameter in
firebird.conf to this (remembering to uncomment the entry).


>I am using version 1.5.1 of the firebird server.

Strange to install 1.5.1 on a new server. Why not 1.5.2?

./hb