程序->Microsoft sql server 2005 ->配置工具->sql server configration manage 在右侧的TCP/IP中的属性中,双击协议和IP协议,一般默认的为1433.