ConnectionError: Failed to connect to localhost:undefined in 15000ms
问题 I am using KnexJs attempting to connect to a local Microsoft SQL Server Express. However, with the below configuration, I am getting an error. I've followed the typical steps, but I'm still getting the error. What I've tried: Set up a SQL Server authentication login for the database Enable SQL Server authentication on the server Enable TCP/IP on the server Restart the Windows services Restart the SQL Server through SQL Server Management Studio Verify ability to log in through SQL Server