Windows server 2008 max http connections


  • Hi,

    I got a Windows Server 2008 hosting a WCF HTTP service on it. (not through IIS).

    I can see using perfmon that the machine can handle around 14,000 connections per second.

    How can I increase the number of connections? is there an OS limit?


    Monday, February 20, 2012 10:23 AM


  • Hi Yaron,

    Maximum connections per second in HTTP.sys (HTTP server functionality) will depend on underlying TCP/IP stack. However, you can configure Max Connections (default=infinite): for a URL namespace that a URL namespace can be reached by.  If the limit is exceeded a 503 will be sent to the client and disconnect.

    You can configure this max connections value from the registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters\MaxConnections. For more information on this and other registry parameters please refer to




    Please remember to click "Vote As Helpful" on the post if the information is useful to you ! Please remember to click “Mark as Answer” on the post that helps you to fix the issues, and to click "Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. This posting is provided "AS IS" with no warranties or guarantees and confers no rights.

    Monday, February 20, 2012 11:06 AM