Cannot connect to SQL Server with Node.js and Tedious
When I try to use Node.js and Tedioius to connect to a local SQL Server instance I get this error: { [ConnectionError: Failed to connect to XXXXX:1433 - connect ECONNREFUSED] name: 'ConnectionError', message: 'Failed to connect to XXXXX:1433 - connect ECONNREFUSED', code: 'ESOCKET' } Here is my connection object: var config = { userName: 'username', password: 'password', server: 'XXXXX', options: { database: 'databasename', instancename: 'SQLEXPRESS' } }; I have checked and TCP/IP is enabled and broadcasting on port 1443 according to Configuration Manager. The SQL Server Browser service is