我的问题是:

MSSQL 2005已经支持 Tcp/ip & Named Pie 远程连接。

解决办法是:C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG 下的ErrorLog文件。里面的侦听端口:

2009-04-27 11:08:05.14 Server      Server is listening on [ 'any' <ipv6> 1433].
2009-04-27 11:08:05.15 Server      Server is listening on [ 'any' <ipv4> 1433].

 

以前不是1433,而是49157,那么如何修改这个默认的49157端口到1433呢?

用Sql Server Configuration Manager工具来修改,参考:http://www.mssqltips.com/tip.asp?tip=1412

 

另外,请在windows 2008的防火墙里添加例外,或者关闭防火墙。

 

推荐文章:

http://blogs.msdn.com/sql_protocols/archive/2005/10/22/483684.aspx

相关文章:

  • 2021-12-21
  • 2022-02-26
  • 2022-03-14
  • 2022-01-18
  • 2022-12-23
  • 2021-12-29
  • 2021-06-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
相关资源
相似解决方案