新配置了几台服务器,上面都安装了sql server2005标准版,端口都指定了1433,配置管理里面远程连接许可也打开了,允许TCP/IP和命名管道连接。
但是相互之间连接都必须注明端口好才能访问,为什么呢?比如连接时必须写成: db1\oltp,1433 ,连接才能成功,直接写db1\oltp就不行,为什么?
难道没有监听1433端口?
我使用netstat -a-n查看了一下,有xxx.xxx.xxx.xxx:1433 状态是established,而不是listening.
但是相互之间连接都必须注明端口好才能访问,为什么呢?比如连接时必须写成: db1\oltp,1433 ,连接才能成功,直接写db1\oltp就不行,为什么?
难道没有监听1433端口?
我使用netstat -a-n查看了一下,有xxx.xxx.xxx.xxx:1433 状态是established,而不是listening.
ip 计算机名
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (.Net SqlClient Data Provider)