rm -rvf /var/cpanel/conf/pureftpd/main.cache
vim /var/cpanel/conf/pureftpd/main
Comment or remove ForcePassiveIP
FTP error usually looks like this:
The data connection cannot be established: ECONNREFUSED – Connection refused by the server.
rm -rvf /var/cpanel/conf/pureftpd/main.cache
vim /var/cpanel/conf/pureftpd/main
Comment or remove ForcePassiveIP
FTP error usually looks like this:
The data connection cannot be established: ECONNREFUSED – Connection refused by the server.
netstat -natp| grep :111
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/systemd
To 111 port listening disable you can like this:
systemctl stop rpcbind.socket
systemctl disable rpcbind.socket
Removed symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket
openssl dhparam -out /etc/ssl/private/pure-ftpd-dhparams.pem 3072
Generating DH parameters, 3072 bit long safe prime, generator 2
This is going to take a long time
/scripts/restartsrv_pureftpd
service pure-ftpd status
systemd[1]: Started Pure-FTPd.