Product:
Search Type:

FTP connection is taking a long time and even may fail with the "connection timeout" error sometimes.

Article ID: 1533 
Last Review: Nov,20 2006
APPLIES TO:
  • Plesk for Linux/Unix

RESOLUTION


Most probably the reason of slow FTP login is reverse-lookup problem. When people connect your server by FTP, your server tries to do reverse lookup of hostname's IP. In case of problem with DNS settings it can lead to connection timeout.

So, make sure that your server's hostname is resolved to the right IP and this IP can be back-resolved from the Plesk server.

ProFTPd also tries to make reverse lookup for client's IP, it may cause delay if the IP cannot be back-resolved. As workaround, you can disable reverse lookup for ProFTPd at all. To do it, use the following directives in the FTP server configuration file /etc/proftpd.conf ($FTPD_CONF in /etc/psa/psa.conf):

<Global>
IdentLookups Off
....
</Global>
UseReverseDNS Off

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields