Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sql-server-2005/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql server 无法在本地或远程telnet sql端口1433_Sql Server_Sql Server 2005_Sql Server 2008 - Fatal编程技术网

Sql server 无法在本地或远程telnet sql端口1433

Sql server 无法在本地或远程telnet sql端口1433,sql-server,sql-server-2005,sql-server-2008,Sql Server,Sql Server 2005,Sql Server 2008,我需要从SQL server 2008连接到SQL server 2000。但我无法连接到它。 它说我的服务器名称或实例不正确。 错误消息: Cannot connect to dpsobhanxxx-xxx. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not access

我需要从SQL server 2008连接到SQL server 2000。但我无法连接到它。 它说我的服务器名称或实例不正确。 错误消息:

Cannot connect to dpsobhanxxx-xxx.

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: 2)
但是,当我在运行SQL server 2000的计算机上运行telnet 127.0.0.1 1433时,它告诉我连接失败。 我在windows服务中启动了telnet。 当我运行
netstat-an
时,没有
1433端口


我使用1433端口在SQL server客户端网络实用程序中启用了TCP/IP端口。但不起作用。

检查您的防火墙-在两台计算机上以及它们之间(如果有)


如果此端口被阻止,您看到的行为正是我所期望的。

两天后,我找到了解决方案,因此我将在此处分享:
只需将您的SQL server 2000升级到
SQL server 2000 SP3

两台计算机上的防火墙即可off@Raymond-他们之间呢?您是否已通过SQL Server Configuration Manager启用TCP/IP连接?在SQL Server 2008中,从Configuration Manager启用TCP/IP,在SQL 2000中,从Client network utility启用TCP/IP,使用1433port@Raymond-你重新启动服务了吗?请帮帮我,我不知道该怎么办-真糟糕,你有一个未修补的2000服务器正在运行!