Enter search queries below or use the tag links to the right to browse the knowledge base by category (Show All Tags).
Connection attempt times out in 21 seconds regardless of the /timeout option.
The Windows TCP/IP stack has a system wide retry delay and retry count for the initial connection. The default settings result in an overall 21 second timeout. This timeout is not software configurable so the /timeout option is only for timeouts in the protocol stream after the initial connection is made.
For example, you could see this error message:
*Connect time-out expired. 
Note that if you see this error message 21 seconds after the connection attempt is initiated, it usually means one of two things:
- The server is not there (not listening for connection attempts on the specified IP address and port).
- A firewall is blocking your connection attempt from reaching the server (sometimes this can mean you are temporarily locked out for too many failed connection attempts).
In most cases, you will need to contact the server administrator to determine why the server is not responding.
However, you can also try changing this time-out value for your system.
Instructions for changing this timeout system-wide can be found here up to Vista and Server 2008:
For Windows 7 and Server 2008 R2 or higher:
Article last updated: 2018-06-11
Tags: Robo-FTP, timeout, FTPLOGON