Change the Default Value of Connection Timeout
On Windows and Linux platforms, for a new connection, the default value for connection timeout is 21000ms (21 sec).
Note
The following commands are supported for Windows 10 only. In case of Windows 7 or Windows Server 2008 R2, the TCP maximum SYN retransmission
value is set to 2 and is not configurable.
For details, refer to hotfix.
To get the default values, run:
netsh interface tcp show global
To change the value of default connection timeout, set the values of the following properties:
InitialRto
MaxSynRetransmissions
Updating Value of InitialRto
To update the value, run:
netsh interface tcp set global InitialRto=1000
Default value: 3000ms
Range: 300 - 3000ms
Recommended values: 2000ms - 3000ms
Updating MaxSynRetransmissions
Property
To update the value, run:
netsh interface tcp set global MaxSynRetransmissions=2
Default value: 2
Range: 2 - 8
Recommended value: 2
To get the default values, run:
sysctl -a | grep net.ipv4
To change the value of default connection timeout, set the value of tcp_syn_retries
property.
Updating tcp_syn_retries
Property
To update the value, run:
sysctl -w net.ipv4.tcp_syn_retries=5
Default value: 6
Range: 1 - 127
Note
While establishing a connection to the CipherTrust Manager, if IP or port is incorrect, then the client application gets an error immediately and doesn't wait for the connection timeout.