sql server 允許遠端連線

How to Enable Dedicated Administrator Connection (DAC) in SQL Server

sp_configure 'remote admin connections', 1; GO RECONFIGURE; GO