简体   繁体   中英

Not able to telnet sql port 1433 locally or remotely

I need to connect to a SQL server 2000 from SQL server 2008. but I can not connect to it. It says me server name or instance are incorrect. error message:

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)

however when I run telnet 127.0.0.1 1433 in the computer running SQL server 2000 it tells me connection failed. I started telnet in windows services. when I run netstat -an there is no 1433 port .

I enabled TCP/IP port in SQL server Client network utility with 1433 port. but doesn't work.

Check your firewalls - on both computers and between them (if any).

If this port is blocked, the behavior you are seeing is exactly what I would expect.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM