Can not connect FTP via Filezilla

I just install Cyberpanel, then create an FTP account, but can not access.
I tried both FTP and sFTP Protocol.
My OS: Centos 7

i got that problem too: Connection attempt failed with “ECONNREFUSED - Connection refused by server”.

Same thing happening, don’t know why.

It seems like we all have the same problem.
FTP and SFTP is refused.
Using SCP to connect works for now, but most phones only allow FTP or SFTP.
SCP is end of life.

connection refused is mostly due to 2 senarios

  1. firewall ( make sure port 21 is opened in the firewall)
  2. FTP servive not working >> make sure the output of the following command

netstat -ntlp | grep pure-ftpd
looks like this

[root@internal ~]# netstat -ntlp | grep pure-ftpd
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1051/pure-ftpd (SER
tcp6 0 0 :::21 :::* LISTEN 1051/pure-ftpd (SER
[root@internal ~]#