I just made a fresh Virtualmin installation on a nude Debian 6.
I followed the tutorial to create a new FTP user but I get the “ECONNREFUSED - Connection refused by server” message.
My user name is “user1” on domain “test.com”.
The given FTP login (user1.test) doesn’t work.
hedefparca.com is not registered, your configuration might be using this as a default hence it fails.
I am not 100% sure but you need to check if Proftp is running by using service proftpd status
I am not 100% sure on the command since I am not using debian. If proftpd is running, it is on another port and the reason why netstat -an | grep :21 return null.
Base on experience, proftpd only ask me for the username in this format… username and not username.domain
I just wanted to chime in that I have the same problem on a fresh Debian 8 box. ProFtpd itself reports it’s running but there is no process listening in on port 21. Fresh install with 0 changed settings to proftpd. (I double checked and it’s configured for port 21)
sudo service proftpd status
kristof@vps:/tmp$ sudo service proftpd status
● proftpd.service - LSB: Starts ProFTPD daemon
Loaded: loaded (/etc/init.d/proftpd)
Active: active (running) since Wed 2016-03-16 23:01:22 CET; 8min ago
Process: 11992 ExecStop=/etc/init.d/proftpd stop (code=exited, status=0/SUCCESS)
Process: 12011 ExecStart=/etc/init.d/proftpd start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/proftpd.service
└─12018 proftpd: (accepting connections)
In Webmin -> servers -> Proftpd server, proftpd is running (only stop button is available)
also in Webmin -> others -> system and server status, the status is reported running
I couldn’t find any logged errors in /var/log/messages and /var/log/proftpd/:
kristof@vps:/tmp$ sudo tail /var/log/proftpd/*
==> /var/log/proftpd/controls.log <==
KristofM, i exactly live same problem… it looks like Debian 8 problem because my laptop also Debian 8 and I take telnet localhost 21 telnet: Unable to connect to remote host: Connection refused
I have a suspicion that the new FTP config that they rolled out not only enabled SFTP, but also (I think inadvertantly) disabled standard FTP in the process.
I’ll talk to Joe about that, but the solution in the meantime would be to either use SFTP on port 2222, or to edit /etc/proftpd/proftpd.conf, and disable the sftp portion in there.
same here, on two fresh install of Debian Jessie 8 and Virtualmin 5.03.
proftpd service is running but nothing is listening on port 21
and the more surprising: even if I disable mod_sftp.c and mod_sftp_pam.c from /etc/proftp/modules.conf: #LoadModule mod_sftp.c #LoadModule mod_sftp_pam.c
proftpd still listens on 2222 port (proftpd service obviously restarted), that’s weird.
i’ll keep you updated if i find a workaround