
You want to connect to the Microsoft SQL Server database but ended up with below error message,

TITLE: Connect to Server
------------------------------
Cannot connect to ITSITI-DB.
------------------------------
ADDITIONAL INFORMATION:
A network-related or instance-specific error occurred while establishing a connection to SQL Server.
The server was not found or was not accessible.
Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
(provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)
------------------------------
Solution
There are multiple causes of this issue. You may check each of the causes below,
- The SQL service is down.
- Open Windows services and check the SQL services is up and running.

- Allow remote connections to this server.
- Right click on and go to Server Properties. Check the setting under Connections page.

- Client protocol TCP/IP is enabled and allowed in firewall.
- Open SQL Server Configuration Manager to verify the TCP/IP status with the port assigned for SQL client.
- Check and confirm the port 1433 is accessible. Use Windows Firewall or command telnet for verification.




