Jun
5

How to fix the FTP time out error .

How to resolve the error :

!connection failed xx.xx.xxx.xxx - connection timed out
!connectio:error 0
PORT xxx,xxx,x,x,x,xxx
500 Illegal PORT command
!Failed "port"
!Retrieve of folder listing failed (0)

This  error occurs when we are able to connect using FTP but folder listing fails!

Resolution:
1)Login to the WHM==> FTP Server Selection

2)change the FTP server to Pure-FTPD from PRO-FTP  ==>  Save

3)Now ssh into the server as root and open the pure-ftp conf file /etc/pure-ftpd.conf

4)Find the FTP port no: used the “PassivePortRange” from the config file

5)Add the port range into the config file
for eg :

PassivePortRange 30000 40000

6)Save and quit

7)Open the  csf(firewall) config file, add the ftp port along with the passive port range
eg :

# Allow incoming TCP ports
TCP_IN = “20,22,25,53,80,110,143,443,465,587,993,995,2001,2077,2078,2082,2083,2086,2087,

2095,2096,30000:40000″

8)Restart csf & Pure-ftpd

2 Comments to “How to fix the FTP time out error .”

Post comment

Follow us on Twitter! Follow us on Twitter!
http://twitter.com/efheem
The next version of Ubuntu is coming soon

Recent Posts

Recent Comments

Firefox Download Button
Google Analytics Alternative Add to Technorati Favorites Technology Blogs - BlogCatalog Blog Directory Free Hit Counter Technology Google Analytics Alternative Blog Buzzer