其端口只能从1025到5000.
解决方案 »
- 请问 DELPHI 2007 用来开发 BS 结构的程序好吗,能开发APSX 的程序吗?
- 圣诞,无条件散分.
- RzShellList如何得到所选项目的路径或大小?
- 刚刚升级到borland官方网站的Delphi 2006的update1,问:为什么Delphi 2006完整支持VB.net开发????
- access中使用SQL语句的时候,如何进行幂运算,有没有相关函数
- 关于不同数据库移植问题
- xywhx(xywhx)进来拿分(3)
- api串口函数及事务日志
- 急聘Delphi软件开发工程师(工作地点:南京)
- delphi将多余的资源编译到exe文件中
- Activex 组件的register active server 使delphi7失去响应
- 要不要将SQL SERVER 客户端啊?
我的操作系统是windows server 2003 企业版
When you attempt to set up TCP connections from ports above 5000, the local computer responds with a WSAENOBUFS (10055) error, which means: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. ResolutionThe default maximum number of ephemeral TCP ports for Microsoft Windows NT is 5000. A new parameter has been added to Windows NT 3.51 Service Pack 5 and to Windows NT 4.0 or higher. To increase the maximum number of ephemeral ports you must set the following registry parameter: Start Registry Editor (Regedt32.exe). Locate the following key in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters On the Edit menu, click Add Value, and then add the following registry value: Value Name: MaxUserPort Data Type: REG_DWORD Value: 65534 <for example> Valid Range: 5000-65534 (decimal) Default: 0x1388 (5000 decimal) Description: This parameter controls the maximum port number used when an application requests any available user port from the system. Normally, ephemeral (that is, short-lived) ports are allocated between the values of 1024 and 5000 inclusive. Quit Registry Editor.