>Well, and have you raised maximum user socket count in your registry? It 
>is 4096 on most windows systems... 

>Lukas Gebauer.

A snip from: http://www.ncftp.com/ncftpd/doc/misc/ephemeral_ports.html

*****

Windows uses the traditional BSD range of 1024 through 4999 for its ephemeral 
port range.  Unfortunately it appears that you can only set the upper bound of 
the ephemeral port range.  Here is information excerpted from Microsoft 
Knowledgebase Article 196271:

    * 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.

Note: There is another relevant KB article (812873) which claims to allow you 
to set an exclusion range, which could mean that you could exclude ports 
1024-9999 (for example) to have the ephemeral port range be 10000-65534. 
However, we have not been able to get this to work (as of October 2004)

*****

You are going to need to get windows to reuse the ephemeral ports faster than 
it normally will reuse them.  I think it's default reuse timeout is about 60 
seconds or more.

Google ephemeral ports and read, read, read. 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to