• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

TCP/IP Error with Event ID 4227

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

EvilPeppard

Member
Joined
May 7, 2008
Location
Centennial, CO - USA
I did a search here on Overclockers.com, but didn't find anything.

I also have responded to this same issue over on the Windows 8 forums: http://www.eightforums.com/network-...ps-allowing-new-connections-3.html#post306663

Here is the issue: About every 4-6 days I start getting the 'error 4227' in my Windows Event log: 'Warning, TCP/IP, Event 4227: TCP/IP failed to establish an outgoing connection because the selected local endpoint was recently used to connect to the same remote endpoint'.

I can always tell when the issue starts because I can no longer remote into my home computer from work using LogMeIn. After I found this thread, I decided before I did anything else, to close Chrome, and the ~25 tabs I had open at the time. Within just a few moments, all my internet connections, and other network connections started coming back online. I didn't reboot or anything, I simply closed Chrome and left Chrome closed.

I have been chasing this problem for a while now, trying to narrow down what was using all my TCP/IP ports up. When I would reboot my computer, the first thing I would do was reopen all the windows I previously had open, including all the tabs I was in while using Chrome. I figured this must be when the countdown to all my TCP/IP ports being used up starts, so when I get to 4-6 days in, I start having network/internet port issues. I never realized leaving my internet browser (Chrome) open with several tabs would cause this problem.

Although many of my local network services restored themselves after closing Chrome, it appears my Internet is still not fully functional. It looks like I will still have to either bounce my NIC, or reboot my machine to fully restore functionality. So, although closing Chrome helped, it was not the the only culprit. Something else is still not releasing all my TCP/IP ports.

After I got home I still had to reboot my computer to fully regain Internet connectivity, so all the ports were not released. I still would like to figure out what is doing this, since I run with a ton of stuff open on my work computer, including ~30 open tabs in Chrome, and my computer stays up for a month or more before I reboot it for security updates. My work computer (also Windows 8.1) never has any issues, so the problem on my home computer must be larger than just leaving Chrome open for a few days with a bunch of tabs. My wife's computer (Windows 8.1) is up for weeks at a time with several things open too, yet she never has the issue of running out of TCP/IP ports either.

In all my research I have also read the problem could be attributed to either a bad NIC card, bad network cable, or a need for upgraded NIC drivers on my current NIC. Anyone want to weigh in on this perspective? I don't want to go buy a new NIC arbitrarily without having a better idea of what my issue may be.

To summarize, I am running Windows 8.1 Pro, with all the latest Windows updates. This is my gaming rig, but I also have other things running on it like Steam, Mumble, Trillian Pro, Argus Monitor, Moo0 system monitor, eMClient (email), Chrome, Internet Explorer (Work OWA email), Logitech Gaming Software (keyboard and mouse config software).

I have MalwareBytes Pro loaded with 'real time' protection running. I have run several FULL system scans on my computer, always coming back clean. I have tried three different versions of NIC drivers for my Broadcom NetLink Gigabit Ethernet adapter, and the problem continues to persist.

My next step is to buy a new Intel NIC and install it to see if that stops my issue, unless there is more info I can provide here to assist with a solid diagnosis.

Thanks in advance for any suggestions or feedback.
 
The issue you are experiencing is simple.

You ran out of available ports.

TCP/IP failed to establish an outgoing connection because the selected local endpoint
was recently used to connect to the same remote endpoint. This error typically occurs
when outgoing connections are opened and closed at a high rate, causing all available
local ports to be used and forcing TCP/IP to reuse a local port for an outgoing connection.
To minimize the risk of data corruption, the TCP/IP standard requires a minimum time period
to elapse between successive connections from a given local endpoint to a given remote endpoint.

I just googled the error and found documents from MS detailing the issue and cause.
 
The issue you are experiencing is simple.

You ran out of available ports.

TCP/IP failed to establish an outgoing connection because the selected local endpoint
was recently used to connect to the same remote endpoint. This error typically occurs
when outgoing connections are opened and closed at a high rate, causing all available
local ports to be used and forcing TCP/IP to reuse a local port for an outgoing connection.
To minimize the risk of data corruption, the TCP/IP standard requires a minimum time period
to elapse between successive connections from a given local endpoint to a given remote endpoint.

I just googled the error and found documents from MS detailing the issue and cause.

Yes, I too Googled and found this answer over the course of my research. I have been researching this for some time now.

Microsoft provides this as the solution: http://technet.microsoft.com/en-us/library/cc735929(v=ws.10).aspx. That solution is to bounce my NIC. In other words, disable/enable my NIC, so my TCP ports reset. I can just as easily reboot my computer to accomplish the same thing. To me that is not a solution. I need to know why it is happening to begin with, and there must be a way to find out.

The problem is more which program is making me run out of TCP ports, not how to clear the ports. I have never experienced this before on another machine, so I would like to figure out why I am seeing this specifically on my game rig. My work computer stays up for well over a month with just as many Chrome tabs open, and many more applications, and I never see this issue.

This issue has been perplexing me for months now. I should be able to leave my machine up for as long as I want, and run what I want, without issue, so there must be some logical explanation and solutions as to what is causing my game rig to run out of ports, and/or not re-allocate the ports for reuse.

Thanks again for the responses and feedback.
 
Yes, I too Googled and found this answer over the course of my research. I have been researching this for some time now.

Microsoft provides this as the solution: http://technet.microsoft.com/en-us/library/cc735929(v=ws.10).aspx. That solution is to bounce my NIC. In other words, disable/enable my NIC, so my TCP ports reset. I can just as easily reboot my computer to accomplish the same thing. To me that is not a solution. I need to know why it is happening to begin with, and there must be a way to find out.

The problem is more which program is making me run out of TCP ports, not how to clear the ports.

Sounds like a possibly a DoS. What could possibly be using 65536 ports total or nearly that?
 
Back