The TCP/IP connection to the host localhost, port 1433 has failed

前端 未结 3 1752
走了就别回头了
走了就别回头了 2020-12-03 05:12

I\'m getting this 2 errors repeatedly when I\'m trying to connect eclipse with sql server through jdbc. Could anyone help me with this or e

3条回答
  •  佛祖请我去吃肉
    2020-12-03 05:42

    You need to Go to Start > Microsoft SQL Server > Configuration Tools > SQL Server Configuration Manager
    

    When it opens Go to

    SQL Server Configuration Manager > SQL Server Network Configuration > Protocols for SQLExpress 
    

    Where you'll find the Protocol TCP/IP, if disabled then Enable it Click on TCP/IP, You'll find its properties.

    In this properties Remove All the TCP Dynamic Ports and Add value of 1433 to all TCP Port and restart your SQL Server Services > SQL Server

    And Its Done...

提交回复
热议问题