大批量执行webservice出现“无法连接远程服务器”解决方案

原因:由于操作系统端口被咱用光了。

修改操作系统相关参数
开始-->运行-->regedit

1、HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort
增加MaxUserPort     word,值为65534
2、HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\TCPTimedWaitDelay
增加TCPTimedWaitDelay  word,值为 30


重新启动

 

具体请参看:http://www.igooya.cn/bbs/viewthread.php?tid=467&extra=page%3D1

posted @ 2009-03-30 21:07  Eric's Yang  阅读(767)  评论(0编辑  收藏  举报