当试图2012数据库从管理Studio 2012连接到远程SQL Server上我的笔记本电脑,我得到这个错误:无法连接到远程SQL Server上的笔记本电脑
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:53). the network path was not found.
我主持我的网站主机的Gator主机提供者和我已经在他们的托管服务器上创建了一个数据库,并提供了用户详细信我正尝试使用我的笔记本电脑连接到远程数据库。我的笔记本电脑上安装了Windows 10操作系统。
下面是我遵循的步骤:
- 确保TCP/IP和命名管道协议在SQL Server配置管理器中启用。
- 确保我的机器上的SQL Server浏览器和SQL Server已启动并正在运行
- 确保端口号为1433的TCP/IP协议已添加到防火墙中的入站规则中。
- 确保TCP/IP协议是通过CLIConfg启用
@charan tej:我批准你的编辑。我想指出的是,诸如“预先感谢”之类的东西在堆栈溢出时被认为是噪声。他们应该从帖子中删除,而不是添加。 –