【问题标题】:Not able to telnet sql port 1433 locally or remotely无法在本地或远程 telnet sql 端口 1433
【发布时间】:2011-08-20 15:26:20
【问题描述】:

我需要从 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 port

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

【问题讨论】:

    标签: sql-server sql-server-2005 sql-server-2008


    【解决方案1】:

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

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

    【讨论】:

    • 两台电脑的防火墙都关闭了
    • @Raymond - 在他们之间?您是否通过 SQL Server 配置管理器启用了 TCP/IP 连接?
    • 在配置管理器 tcp/ip 的 sql server 2008 中启用,在客户端网络实用程序的 SQL 2000 中,我启用了 TCP/IP 和 1433 端口
    • @Raymond - 你重启服务了吗?
    • 请帮帮我,我不知道该怎么办
    【解决方案2】:

    两天后我找到了解决方案,所以我将在这里分享: 只需将您的 SQL Server 2000 升级到 SQL server 2000 SP3

    【讨论】:

    • 天哪 - 你有一个未打补丁的 2000 服务器在运行,这真是太糟糕了!
    猜你喜欢
    • 1970-01-01
    • 2011-01-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-11-11
    • 1970-01-01
    • 1970-01-01
    • 2010-11-24
    相关资源
    最近更新 更多