我在家庭网络中的一台计算机上设置并安装了 SQL Server 2019。我正在尝试通过家庭网络上另一台计算机上的 SQL Server Management Studio 设置连接到它。
我遵循了此处列出的所有步骤:SQL Server instructions
TITLE: Connect to Server
------------------------------
Cannot connect to DESKTOP-6CKIO3T.
------------------------------
ADDITIONAL INFORMATION:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 5)
------------------------------
Access is denied
到目前为止,这是我为解决此问题所做的工作:
我错过了什么或做错了什么吗?
更新:使用服务器名称下的浏览选项,我能够检测到远程计算机上运行的 sql 服务器。我仍然无法连接到它
最佳答案
如图1所示
Image1
单击 SQL Server 网络配置,然后单击 MSSQLSERVER 的协议(protocol)
如图2所示
Image
如图3所示
image
FireWallImage1
关于sql-server - 无法连接到家庭网络上的 SQL Server 2019,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60623151/