SOCKET resource shortage solution

  

A 2003 server, the fault is:

IE can not open the webpage, run the FTP command directly on the command line, prompting BIND to fail.
Failure to start SERVER-U failed, indicating insufficient resources.
Later found on the Microsoft website such a solution:


Symptoms
If you try to establish a TCP connection from the port is greater than 5000, the local computer responds with the following WSAENOBUFS (10055) error message:
Because the system lacks enough buffer space or because the queue is full, the socket operation cannot be performed.

Solutions
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These issues may require reinstalling the operating system. Microsoft cannot guarantee that these issues will be resolved. Modifying the registry is at your own risk.
The default number of temporary TCP ports is 5000' for the products included in the 'Parts. New parameters have been added to these products. To increase the maximum value for the ephemeral port, follow these steps:

1. Start Registry Editor.


2. In the registry, locate the following subkey, and then click Parameters:
HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters

< BR>3. On the "Edit" menu, click New, and then add the following registry key:
MaxUserPort Value Name:
Value Type: DWORD
Value Data: 65534
Valid Range: 5000 - 65534 (decimal)
Default: 0x1388 5000 (decimal)
Description: This parameter controls the maximum number of ports used by the program to request any available user port from the system. Typically, the value of the temporary (short-lived) port 1024 is allocated between 5000 and 5000.


4. Exit the Registry Editor.

Copyright © Windows knowledge All Rights Reserved