Follow these steps to diagnose and fix the issue so SQL Server 2025 can be connected to successfully.
- Verify that SQL Server is installed and running
- On the SQL Server machine, open SQL Server Configuration Manager.
- In the left pane, select SQL Server Services.
- Confirm that the Database Engine service (for example,
SQL Server (MSSQLSERVER)for default orSQL Server (SQLEXPRESS)/ another name for a named instance) is present and its status is Running. - If it is stopped, start it and then try connecting again.
- Confirm the correct instance name
- In SQL Server Configuration Manager, under SQL Server Services, note the exact instance name:
-
SQL Server (MSSQLSERVER)→ server name is just<computer name>. -
SQL Server (<InstanceName>)→ server name is<computer name>\<InstanceName>.
-
- Use that exact name in the Server name box in SSMS.
- Test a local connection on the server Testing locally removes network/firewall issues and focuses on SQL Server itself.
- Sign in to the machine where SQL Server 2025 is installed.
- Start SQL Server Management Studio.
- In the Connect to Server dialog:
- Server type: Database Engine
- Authentication: Windows Authentication
- Server name: use the value from step 2 (for example,
MYPCorMYPC\SQLEXPRESS).
- If this local connection fails, resolve it before trying remote connections.
Details for this step are in the “Test local connection” section.
- Ensure the required network protocol is enabled Error 233 can occur if the client cannot complete the login handshake, including when the expected protocol is not available.
- Open SQL Server Configuration Manager.
- In the left pane, select SQL Server Network Configuration → select the instance.
- In the right pane, verify:
- Shared Memory is enabled (for local connections).
- TCP/IP is enabled (for local and remote connections).
- If TCP/IP is disabled, right‑click TCP/IP → Enable.
- After changing protocol settings, go back to SQL Server Services, right‑click the Database Engine service → Restart.
- Confirm the TCP port and basic connectivity
- On the SQL Server machine, open SSMS and connect to the instance.
- In Object Explorer, expand Management → SQL Server Logs → double‑click the current log.
- Use Filter → in Message contains text, enter
server is listening on→ Apply filter. - Note the port shown, for example:
Server is listening on ['any' <ipv4> 1433]. - If the port is not 1433, use
ServerName,Portwhen connecting (for example,MYPC,51433).
- Check firewall configuration If connecting from another machine:
- Determine the port from step 5.
- Ensure Windows Firewall or any third‑party firewall allows inbound TCP traffic on that port.
- For a default instance on 1433, allow TCP 1433.
- If using a non‑standard port, allow that port and connect using
ServerName,Port. - If specifying the port works but omitting it does not, this indicates a SQL Browser / discovery issue; continue using the explicit port in the connection string.
- Try alternate connection forms and drivers If SSMS still cannot connect:
- Try connecting with:
-
tcp:<ServerName>,<Port> -
np:<ServerName>\<InstanceName>(Named Pipes) -
lpc:<ServerName>\<InstanceName>(local only)
-
- Try connecting using a UDL file or ODBC Data Source Administrator to see if a different provider/driver succeeds.
- Try a newer SQL client driver that supports modern TLS.
- Check SQL Server error log for startup or TLS issues Because the message mentions the initialization process and SSL Provider, check the SQL Server error log for:
- TLS/SSL handshake failures.
- Database Engine startup failures.
- Resource limitations (for example, out of memory).
The error log is typically under C:\Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG (or the corresponding MSSQL17.<InstanceName> folder for SQL Server 2025). Look for messages around the time of the failed connection.
- If installation issues persist
If SQL Server 2025 was recently installed and the Database Engine service fails to start or the error log shows startup failures (for example, “Wait on the Database Engine recovery handle failed” or disk sector size issues), review the installation logs under
C:\Program Files\Microsoft SQL Server\170\Setup Bootstrap\Logand the SQL error log to identify and correct the underlying installation problem before retrying connections.
References:
- A network-related or instance-specific error occurred while establishing a connection to SQL Server
- Consistent SQL Server network connectivity issues
- SQL Server installation errors
- How to install my SQL Server Express 2025 - Microsoft Q&A
- Error While Installing SQL Server 2022 / 2025 - Microsoft Q&A
- Unable to install SQL server (Setup.exe) Exit code:-2061893606 - Microsoft Q&A
- SQL Server 2025 Installation Error - Microsoft Q&A
- sql server database engine service how can i resolve this in windows 11 - Microsoft Q&A