Recently, I have observed a lot of these errors in Windows. I assume that they are somehow related to Syncthing, as they stop popping up when Syncthing is not running, and immediately start showing up as soon as Syncthing has been started. Also, I can see them on a few different Windows machines, so this is not an issue limited to a single device.
This is what the full error message looks like.
Event 4227, Tcpip
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.
The only somewhat “official” sources that I have managed to find are
- https://support.microsoft.com/help/2901197/event-id-4227-when-a-client-application-tries-to-connect-to-a-windows
- https://social.technet.microsoft.com/Forums/Lync/b632acdc-a546-4014-a299-4c27781e6c5a/tcpip-failed-to-establish-an-outgoing-connection-event-id-4227?forum=winserverPN
but they do not really give any specific information.
Does anyone have any idea what the culprit may be and possibly how to fix this?