I am having trouble changing the default port for PureFTPd from 21 to **** (another port)
I went through the procedure I have followed for the past five years, which has always worked perfectly, but for some reason this time it simply refuses to allow connections.
The procedure I follow is to initially run netstat -an and find an unused port, then change the "bind" in both /var/cpanel/conf/pureftpd/main AND /etc/pure_ftp.conf, then allow the new port in the iptables then reboot the service pureftpd. I am NOT running a firewall.
But as I say, with the new port nobody can connect using ftp. Revert to default port (21) and everything works fine.
Anybody have any ideas what I am doing wrong? All suggestions will be greatly appreciated.
I went through the procedure I have followed for the past five years, which has always worked perfectly, but for some reason this time it simply refuses to allow connections.
The procedure I follow is to initially run netstat -an and find an unused port, then change the "bind" in both /var/cpanel/conf/pureftpd/main AND /etc/pure_ftp.conf, then allow the new port in the iptables then reboot the service pureftpd. I am NOT running a firewall.
But as I say, with the new port nobody can connect using ftp. Revert to default port (21) and everything works fine.
Anybody have any ideas what I am doing wrong? All suggestions will be greatly appreciated.
From FileZilla debug
Status: Resolving address of cornish****.net
Status: Connecting to 51.254.135.58:****...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Trace: CRealControlSocket::OnClose(61)
Trace: CControlSocket::DoClose(64)
Trace: CFtpControlSocket::ResetOperation(66)
Trace: CControlSocket::ResetOperation(66)
Error: Could not connect to server
Trace: CFileZillaEnginePrivate::ResetOperation(66)
Status: Waiting to retry...
Trace: CControlSocket::DoClose(64)
Trace: CControlSocket::DoClose(64)
Status: Resolving address of cornish****.net
Status: Connecting to 51.254.135.58:****...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Trace: CRealControlSocket::OnClose(61)
Trace: CControlSocket::DoClose(64)
Trace: CFtpControlSocket::ResetOperation(66)
Trace: CControlSocket::ResetOperation(66)
Error: Could not connect to server
Trace: CFileZillaEnginePrivate::ResetOperation(66)