It can be because you are using a custom port for the FTP server, in that case, make sure the custom FTP port is allowed by the hosting provider.
Get error: Login failed. The connection has timed out. Please try again later. when adding FTP storage
Nov 3, 2021 | Troubleshooting