Search This Blog

Showing posts with label Network. Show all posts
Showing posts with label Network. Show all posts

Monday, June 23, 2014

Network resources exhausted - TCP/IP ports are in a TIME_WAIT status

Lately on old Windows 2008 R2 servers I had some network problems.
So I connected to the server via VNC or Remote Desktop and after hours spent without a clue, I tried a "netstat -n" command from DOS prompt and I got an infinite list of TCP/IP ports are in a TIME_WAIT status...

So, what is happening? It seems that there is a strange bug that sometimes Windows does not reuse socket ports in TIME_WAIT status, so when it reaches the maximum port number (65000 or so), the server cannot anymore create new sockets (beware that listening sockets are Ok, so You can connect to the server and all inbound connections actually work, only outbound are rejected).

At this point the only solution is the reboot of the server.

Microsoft has a bug fix but it needs reboot as well:
http://support.microsoft.com/kb/2553549/en-us

TCP/IP ports that are in a TIME_WAIT status 

TCP/IP ports that are in a TIME_WAIT status 

Wednesday, October 9, 2013

Simple access SVN Subversion repository behind proxy

Uncommenting and set the following lines: 

[global]
http-proxy-host=my.proxy
http-proxy-port=80
http-proxy-username=[username]
http-proxy-password=[password]

in file
~/.subversion/servers

Wednesday, April 13, 2011

Windows Network Adapters: Public change to Private network

Tested on Windows Server 2008 R2

I had a similar problem and have a solution, though, it might not be exactly
what is wanted, it has worked for me.
My network is identified as :"Unidentified Network" in Network and Sharing
Center, I ran the Securty Policy Editor (Start->Run "secpol.msc" )

Select Network List Policies under Security Settings and then select
:Unidentifed Network from the Network Names displayed, then
Action->Properties and then set the location type to Private. Since Vista
won't let me change the name of the network on my system is allways
Unidentifed and set to private, not something I would think you would want
to do with a network that is truly "unidentified".

from

Wednesday, April 6, 2011

Windows Server 2008 Slow network connectivity to Windows Server 2003

Windows Server 2008 Slow network connectivity to Windows Server 2003

So it would seem that Bonez had the answer in a manner of speaking. I didn't have to do anything with packet tagging, but I did install QoS on my Windows Server 2003 box and now the Windows Server 2008 box is able to browse network resources on the 2003 box lickity split. I did not have to run the netsh commands. I am betting that I could reverse those commands on my vista boxes and still be able to access the 03 box...

Thanks so much John and Bonez.

To be clear: The solution was to make sure that QoS was installed on the 2003 box.