Cannot connect SSMS to localhost, throwing below error

Zahid 31 Reputation points
2022-09-15T09:12:32.893+00:00

I cannot connect any client application like (SSMS, Azure Data Studio) localhost of sql server, previously I was able to do this successfully using both client tools, any idea what could have gone wrong, I have not unistalled anything from my laptop,

241394-ssms-error.jpg

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,669 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 44,216 Reputation points
    2022-09-15T10:14:12.457+00:00
    0 comments No comments

  2. NikoXu-msft 1,911 Reputation points
    2022-09-16T07:25:31.123+00:00

    Hi @Zahid ,

    Based on the error description, the local instance name on your computer appears to be incorrect. Use SQLCMD for verification.
    We can open the CMD, enter SQLCMD-L, and then we will get a list of all the instances installed in the network, please check if there are some instances under the "(Local)" column, as shown in the figure below.
    241815-image.png

    Best regards
    Niko

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.