

We will show connecting to a remote SQL Server instance in an example of ApexSQL Diff.
SQL SERVER CLIENT AGENT WINDOWS
In the Programs -> Administrative Tools -> Windows Firewall with Advanced Security add a firewall exception for the 1434 port and UDP in the Inbound Rules:Ĭonnecting to a remote SQL Server instance with ApexSQL tools In the SQL Server Configuration Manager make sure that the SQL Server Browser is set to Automatic and Running:

When connecting to a SQL Server named instance SQL Server Browser claims the UDP port 1434. Set the TCP Dynamic Ports to blank and TCP Port to 1434, and restart the SQL Server service. In the TCP/IP Properties dialog select the IP Addresses tab and scroll down to IPAII. To set up remote access to a SQL Server named instance go to Start->Programs->Microsoft SQL Server 2005/2008/2012 ->Configuration Tools and select the SQL Server Configuration Manager. When a client makes a connection to a named instance of SQL Server, it sends a SQL Server Resolution Protocol (SSRP) UDP packet to the server machine User Datagram Protocol (UDP) port 1434. For a named SQL Server instance, the ports that are used to talk to the SQL Server are by default dynamic. As already stated, the default instance that SQL Server listens is port 1433. If you using a named instance of SQL Server there are specific things you need to do to allow clients to access the SQL database remotely. You can now see the created rule in the list of inbound rules:Ĭonfiguring remote access on a named instance of SQL Server In the last window specify the name of the created rule and click the Finish button:

Specify the profiles for which the rule applies in the Profile window, and click Next: In the Action window select the Allow the connection to specify the action to be taken when a connection matches the conditions specified in the rule: Select the TCP option, in the Specific local ports text box enter the 1433 port, and click Next: In the Protocols and Ports window specify the protocols and ports to which a rule applies. In the New Inbound Rule wizard select the Port option and click Next: In the Windows Firewall with Advanced Security dialog click on the Inbound Rules option and select the New Rule command: To add a firewall exception for the 1433 port go to Programs -> Administrative Tools select the Windows Firewall with Advanced Security option and follow the steps: If you’re using firewall you need to add an exception for the 1433 port to allow TCP/IP traffic on Port 1433Ĭonfigure a Windows Firewall for Database Engine Access In the left pane of SQL Server Configuration Manager click SQL Server Services, right-click SQL Server, and click Restart: When you click the OK button you will be prompted with a message to restart the service: Port 1433 is the default instance that SQL Server uses: If the TCP Dynamic Ports dialog box contains 0, which indicates that the Database Engine is listening on dynamic ports, delete the 0 and set the TCP Dynamic Ports to blank and TCP Port to 1433. Make sure that TCP/IP protocol is enabled and right click on TCP/IP and select the Properties option. Under the SQL Server Network Configuration select Protocols for :

Go to Start->Programs->Microsoft SQL Server 2005/2008/2012 ->Configuration Tools and select the SQL Server Configuration Manager: In the Server Properties dialog under the Connections tab check the Allow remote connections to this server option: To enable remote connection on SQL Server right – click on the server and select the Properties option.
SQL SERVER CLIENT AGENT HOW TO
This article explains how to configure remote access on a SQL Server instance and connect to a remote SQL Server instance with ApexSQL toolsĬonfiguring remote access on a SQL Server instance
