
On the client computer:

1. Start Registry Editor.

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

3. On the Edit menu, click New, and then add the following registry entry:
   Value Name: MaxUserPort
   Value Type: DWORD
   Value data: 65534
   Description: This parameter controls the maximum port number that is used
   when a program requests any available user port from the system. Typically,
   ephemeral (short-lived) ports are allocated between the values of 1024 and
   5000 inclusive.

4. Quit Registry Editor.

5. Restart computer.

http://support.microsoft.com/kb/196271