RE: Cannot Connect via FTP anymore.
08-14-2015, 11:14 AM
(This post was last modified: 08-14-2015, 11:23 AM by Innovative Tom.)
Ok, ok. I feel like I'm getting someone where now. But Filezilla now give me this error:
So I think ok, port forwarding from my router. Not the case. It seems like ftp or proftpd are not listen to port 21 or anything. Here is the list.
Don't ask me how I got this far down before realizing I could see the top but I think I'm almost out now.
edit: also possible issue
Code:
Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Code:
tom@pannel:/$ sudo netstat -ntlp | grep LISTEN
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 1168/master
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1013/mysqld
tcp 0 0 0.0.0.0:2222 0.0.0.0:* LISTEN 943/sshd
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 961/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 961/dovecot
tcp 0 0 10.0.0.62:53 0.0.0.0:* LISTEN 1004/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1004/named
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 1168/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 1004/named
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 961/dovecot
tcp6 0 0 :::2222 :::* LISTEN 943/sshd
tcp6 0 0 :::80 :::* LISTEN 1320/apache2
tcp6 0 0 :::53 :::* LISTEN 1004/named
tcp6 0 0 :::25 :::* LISTEN 1168/master
edit: also possible issue
Code:
tom@pannel:/$ cd /etc/proftpd/
tom@pannel:/etc/proftpd$ ls
blacklist.dat conf.d dhparams.pem ldap.conf modules.conf proftpd.conf sql.conf tls.conf virtuals.conf
tom@pannel:/etc/proftpd$ rm /etc/proftpd/proftpd.conf
rm: remove write-protected regular file ‘/etc/proftpd/proftpd.conf’? y
rm: cannot remove ‘/etc/proftpd/proftpd.conf’: Permission denied
tom@pannel:/etc/proftpd$ sudo rm /etc/proftpd/proftpd.conf
tom@pannel:/etc/proftpd$ ls
blacklist.dat conf.d dhparams.pem ldap.conf modules.conf sql.conf tls.conf virtuals.conf
tom@pannel:/etc/proftpd$ sudo ln -sv /etc/proftpd/proftpd.conf /etc/sentora/configs/proftpd/proftpd-mysql.conf
ln: failed to create symbolic link ‘/etc/sentora/configs/proftpd/proftpd-mysql.conf’: File exists
tom@pannel:/etc/proftpd$