How to fix ftp connection time out error!

How to fix ftp connection time out error!

Common errors when using FTP

When testing an FTP connection you may received of the following errors:

1) Socket Error # 11001, Host not found
2) Socket Error # 11004, Unable to connect
3) Socket Error # 10061, Connection refused
4) Socket Error # 10093
5) Socket Error # 10038
6) Socket Error # 10039
7) Socket Error # 10052
8) Unable to connect: Connection time out
9) Unable to connect. Not logged in
10) Unable to connect. Error connecting with SSL
11) Scan failed (-1): Read Timeout

How to resolve the error?
If you receive an “FTP connection timed out error while trying to access your account”, there are several reasons for that. Please, take a look at the Script :

 

!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)

 

Solution:

 

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

2 : Change the FTP server to Pure-FTPD ==> Save

3 : Now ssh into the server as root

4 : Open the pure-ftp conf file /etc/pure-ftpd.conf

5 : Find the FTP port no: used

6 : And find the “PassivePortRange

7 : Add the port range

for eg :

[bash][/bash]PassivePortRange 30000 40000[bash][/bash]

8 : Save and Quit

9 : Go to csf(firewall) config file

10 : Add the ftp port along with the passive port range

eg :

[bash][/bash]# 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?[bash][/bash]

11 : Restart csf & Pure-ftpd

 

 

 


Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.

Recent Posts

Updated cPanel License Price in Jan 2025: A Comprehensive Guide

Are you ready for another cPanel price adjustment? As we have approached January 2025, cPanel has rolled out significant changes…

3 weeks ago

Finding Your Fit: Website Builder or WordPress for Your Site?

In this growing digital world, having a website is not enough—it’s a crucial and much-needed option. But here's the challenge…

3 weeks ago

From Hobbyist to Professional: Selling Photos Online

In today's digital age, the line between hobby photography and professional photography has become increasingly blurred. With the rise of…

4 weeks ago

Windows Web Hosting: Essential Insights for Beginners

Are you taking your first steps into the world of web hosting? You're not alone. Every day, countless individuals and…

4 weeks ago

Crafting a Professional Email: Step-by-Step Guide

Due to growing digitalization, Email Communication has become the backbone of professional interactions. Yet, surprisingly, many professionals struggle to craft…

1 month ago