Solving SQL Server Connection Problem
Inspect Server Settings
There are three significant aspects that users may neglect, which lead to the failure of the connection to the SQL Server.
Enable TCP/IP Connection
To check whether your server enabled to TCP/IP connections: