title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | helpviewer_keywords | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
remote admin connections (server configuration option) |
Learn how applications on remote computers can use the DAC. See how to use the remote admin connections option with sp_configure to turn on this capability. |
rwestMSFT |
randolphwest |
08/12/2022 |
sql |
configuration |
conceptual |
|
[!INCLUDE SQL Server]
[!INCLUDEssNoVersion] provides a dedicated administrator connection (DAC). You can use the DAC to execute diagnostic functions or [!INCLUDEtsql] statements, or to troubleshoot problems on the server, even when the server is locked or running in an abnormal state and not responding to a [!INCLUDEssDEnoversion] connection.
By default, the DAC is only available from a client application directly on the server. To enable client applications on remote computers to use the DAC, use the remote admin connections option of sp_configure
.
By default, the DAC only listens on the loop-back IP address (127.0.0.1), port 1434. If TCP port 1434 isn't available, a TCP port is dynamically assigned when the [!INCLUDEssDE] starts up. When more than one instance of [!INCLUDEssNoVersion] is installed on a computer, check the error log for the TCP port number.
The following table lists the possible values for the remote admin connections option.
Value | Description |
---|---|
0 | Only local connections are allowed by using the DAC. |
1 | Remote connections are allowed by using the DAC. |
The following example enables the DAC from a remote computer:
EXEC sp_configure 'remote admin connections', 1;
GO
RECONFIGURE;
GO