There are a bunch of "TCP error code 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted" messages in the Application Log
There are a bunch of "Insufficient winsock resources available to complete socket connection initiation"
I cannot connect to my SharePoint site or sometimes cannot even open central administration
Running netstat and TCPView results in thousands of connections in TIME_WAIT
I am running Windows 2008 x64 R2. According to KB929851 The default dynamic port range for TCP/IP has changed in Windows Vista and in Windows Server 2008, the number of ports has been bumped from a default range of 1025-5000 to a range of 49152-65535. So, bumping up the value to HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort does not help at all.
Also, these sockets are stuck in TIME_WAIT. By default the TIME_WAIT delay HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TCPTimeWaitDelay is 240 so these should have been cleaned up after 4 minutes anyway. So, why are they not being cleaned up?
Anyone who has an idea of what's going on, please feel free to comment. In the meantime, I'm just going to reboot.
Another reference: Hurry Up and TIME_WAIT