Critical severityconnection
Power BI Refresh Error:
10061
What does this error mean?
The TCP connection was actively refused — SQL Server is not running on the target host and port.
Common causes
- 1SQL Server service is stopped
- 2SQL Server is listening on a different port than the connection string specifies
- 3The correct instance name is not specified and the wrong instance answers
How to fix it
- 1Step 1: Check if SQL Server is running on the target machine: services.msc → SQL Server (<instance>) → Status. Or remotely: Get-Service -ComputerName <server> -Name 'MSSQLSERVER'.
- 2Step 2: Verify the port SQL Server is listening on: SQL Server Configuration Manager → TCP/IP Properties → IP Addresses tab → IPAll → TCP Port.
- 3Step 3: If using a named instance, ensure SQL Server Browser is running so the instance name resolves to the correct port.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/sql/relational-databases/errors-events/database-engine-events-and-errors