Control Web Panel
WebPanel => FTP => Topic started by: avanipg4 on June 27, 2018, 04:48:59 PM
-
I am host a website in the server with Cent OS and used CWP as the web hosting software. The website is working fine. I noticed that when listing the files in server through FTP i get the timeout most of the time. The error received in Filezilla is
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Apart from ftp all looks fine at the time of error. Checked my and server's internet connection and it was good. I don't have any private IP configured in the server, server is directly connected to public IP.
Steps followed:
- Restarted FTP server
- Checked by connecting in passive as well as active FTP connections
- Checked the server firewall by disabling it
- Restarted server
- Enabled all ports in the server
- I also tried by creating another FTP user and problem didn't solve
I am not facing this problem every time i connect to the server but most of the time error comes.
How can i check the cause of the problem and solve?
-
CWP7 + CSF enabled?
-
i try CSF disable too.
-
try this
http://wiki.centos-webpanel.com/pure-ftpd-setup-passive-ftp-ports
-
I already reasolved, need open fiwerall ports at my hosting provider.
-
I already reasolved, need open fiwerall ports at my hosting provider.
I have the same problem.
What doors needed to open on CSF ?
-
sometimes, in addition to the Centos-Webpanel Wiki about using Passv mode, there is another reason for this issue that has nothing to do with firewalls.
for example,
A. If you use Filezilla, then check the following...
Filezilla>File Menu>Site Manager>My Sites (select your saved site)
Then go to over to the right-hand side of Filezilla window and look at tabs (General, Advanced, Transfer settings, Charset) and click "Advanced" tab
Ensure that under "Default Remote Directory" you have at least given a directory...I use "/" (without "").
B. If using WinSCP, then do the following...
Goto Sessions>Sites>Site Manager>Edit Site> Advanced>Directories>Remote Directory, and ensure that "/" (without "") is set as your remote directory.
This fixes the problem for me in both of the above ftp clients.