1. Home
  2. /
  3. Docs
  4. /
  5. SQL Server
  6. /
  7. Troubleshooting
  8. /
  9. SQL Server Management Stu...

SQL Server Management Studio won’t connect—what should I do?

SQL Server Management Studio won’t connect—what should I do?

Check the full error message, server name, and login method. SSMS may fail due to an unreachable instance, a failed login, or a certificate issue. Reinstalling is usually not the first step.

Step 1: Check your connection details

In SSMS, select Connect → Database Engine and check the server name:

  • SERVER NAME: for a standard instance.
  • SERVER NAME\INSTANCE NAME: for a named instance.
  • tcp:SERVERNAME,PORTNUMBER: if you know the configured TCP port.

Use localhost only when the database engine is running on the same computer as SSMS. Installing SSMS alone does not provide a database server.

Step 2: Check the type of error

Notice What to check?
Server not found, error 26, or error 40 Server and instance name, database service, network protocol, and availability.
Login failed, error 18456 Log-in method, account permissions, and additional error information in the SQL Server log.
The certificate chain was issued by an authority that is not trusted The server certificate and the chain of trust on the client.

Step 3: Check the service and registration

Check on the server at SQL Server Configuration Manager → SQL Server Services to see if the correct SQL Server service is running.

For “Windows ” authentication, your Windows account must have access. For “SQL Server ” authentication, the SQL login and this authentication method must be enabled on the server.

Step 4: Compare local and online options

Does the connection work on the server itself, but not from your management computer? If so, have your DNS, TCP/IP, the actual SQL server port, and firewall rules checked. Not every instance uses port 1433.

The problem began after an SSMS update

Be sure to check the full error message and encryption settings. A newer client may reveal an existing certificate issue. Have a valid, trusted certificate set up that matches the server name being used.

Do not disable certificate verification by default as a permanent solution.

Need help with SSMS?

Email your SSMS version, SQL Server version, login method, and a screenshot of the full error message to info@cd-keys.uk, or use the contact page. Please specify whether you’re connecting locally or remotely and whether it worked previously. Please include your order number if the question concerns a purchase. Do not share passwords or database contents.