Lots of TIME_WAIT connections in netstat (Windows Server 2008)
        Posted  
        
            by 
                Rhys Causey
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Rhys Causey
        
        
        
        Published on 2011-02-07T18:39:15Z
        Indexed on 
            2011/02/08
            7:27 UTC
        
        
        Read the original article
        Hit count: 698
        
I'm having some issues on a Windows 2008 server with some network connections not going through. For instance, in a web application on the server, we need to open a socket connection to another server, and this fails sometimes with the following message:
Only one usage of each socket address (protocol/network address/port) is normally permitted
I looked up the error, which led me to this page: http://msdn.microsoft.com/en-us/library/aa560610(v=bts.20).aspx, which indicates that it might be TCP/IP port exhaustion.
When I perform netstat -n, I get tons of TIME_WAIT connections on port 80.
Does anyone have any idea what could be causing this?
© Server Fault or respective owner