User Tools

Site Tools


faq:tcp_ip_timeout_values_windows_server_family

This is an old revision of the document!


TCP/IP Timeout values default to two hours. This can sometimes lead to connections not breaking after a power outage or network disconnection by a client. The following registry D-WORD value will set the default time for holding TCP/IP connections from two hours to three minutes:

Fix: For inactive connections to be detected sooner than the default two hours, change the Windows NT registry database as follows:

1: Open up the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters“ key using the standard registry editor (REGEDT32.EXE).

2: Add or set the following value: Value name: KeepAliveTime type: REG_DWORD data: which is a numeric value representing the number of milliseconds after which “keep alive” messages will be sent across the network in case of inactive connections. Suggested value is 180000 milliseconds.

c) Reboot your machine.

See Below:

faq/tcp_ip_timeout_values_windows_server_family.1174342009.txt.gz · Last modified: 2007/03/19 15:06 (17 years ago) by bob