新配置了几台服务器,上面都安装了sql server2005标准版,端口都指定了1433,配置管理里面远程连接许可也打开了,允许TCP/IP和命名管道连接。
但是相互之间连接都必须注明端口好才能访问,为什么呢?比如连接时必须写成: db1\oltp,1433        ,连接才能成功,直接写db1\oltp就不行,为什么?
难道没有监听1433端口?
我使用netstat -a-n查看了一下,有xxx.xxx.xxx.xxx:1433 状态是established,而不是listening.

解决方案 »

  1.   

    在host中添加
    ip 计算机名
      

  2.   

    在host文件中添加了IP地址和计算机名,3台服务器全部添加了,依然需要注明端口才能连接。但是错误提示却是:
    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)
      

  3.   

    client protocols下面的TCP/IP属性中,默认端口是1433,我确认过。
      

  4.   

    怎么样能够让 xxx.xxx.xxx.xxx:1433 状态是listening ,而不是established?