The AppDynamics for Databases collector connects to SQL Server via JDBC (Java Database Connectivity), which works over a TCP/IP protocol. The collector requires the following:

The following error usually points to an incorrectly entered listener port number, or TCP/IP disabled on the monitored SQL Server:

Unable to establish a connection. com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect

Failed Connection to SQL Server

If you have named or multiple SQL Server instances and have dynamically assigned ports for those instances, thenĀ 

The collector connection does not currently support using the browser service, so you must specify the dynamic port number associated with the instance you want to monitor.