Connect to SQL Server 2008 with TCP/IP

前端 未结 8 2048
眼角桃花
眼角桃花 2020-12-05 16:16

I get the following error when I try to connect with TCP/IP from SQL Server Management Studio. I need a step by step description to solve my problem. What\'s wrong here?

8条回答
  •  臣服心动
    2020-12-05 16:49

    The thing I usually forget is that even if you mark tcp as enabled in SQLServerNetwork->Protocols for MSSQLServer, you still need to go and enable the potentially different IP addresses for your server. Even a server with a single NIC will have multipe IP addresses.

    1. Click on the Protocols for MSSQLServer as listed above.
    2. Then in the right hand pane enable TCP/IP.
    3. Now double click TCP/IP to get a dialog window.
    4. If you want to listen on all the IP addresses for the server Select Yes in the Listen All box on the first Protocol tab; otherwise
    5. Select the IP Addresses tab and enable the desired IP addresses by setting Enabled to Yes.

    enter image description here

提交回复
热议问题