Connect to SQL Server 2008 with TCP/IP

前端 未结 8 2029
眼角桃花
眼角桃花 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:43

    And - you can change it in the protocols screen of the SQL Server Configuration Manager but it won't take effect until the sql server service is restarted. I just reboot - it's the only way to be sure (Aliens reference there :)

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题