Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to shorten timeout for connection to a non-existing IP

55 views
Skip to first unread message

Yong Huang

unread,
Feb 20, 2008, 4:54:26 PM2/20/08
to
This command

C:\>telnet 123.45.67.89 1521
Connecting To 123.45.67.89...Could not open connection to the host, on
port 1521: Connect failed

comes back with Connect failed error in about 20 or 21 seconds. What
can be done to shorten this time? I tried these registry settings at
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters:

KeepAliveTime 120000
TcpTimedWaitDelay 120000
TcpWindowSize 64512
TCPMaxRetransmissions 1

The telnet still hangs for about 20 seconds. What am I missing?
Thanks.

Yong Huang

Yong Huang

unread,
Feb 22, 2008, 12:34:12 PM2/22/08
to
> TCPMaxRetransmissions 1

Wrong param. After I set TcpMaxConnectRetransmissions to 2 (default 3)
and reboot, timeout occurs in 9 seconds instead of 21.

Ref:
www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/58804.mspx

I thought setting TcpInitialRTT to 2 (default 3) would also help. I
set it under the specific interface in registry and rebooted. It did
not shorten the timeout.

Yong Huang

0 new messages