Debian ftp access port 21 not working

Hello,

I installed virtualmin, I try a ftp connection on port 21 with Filezilla but it doesn’t work

host : xxx.xxx.xxx.xxx

user : myname

on an other debian 9 server, I have just installed webmin and created an user and it work.

Thanks

Did you open that port on firewall? What is the message you have when try to connect? Proftpd is started and running?

I have only the firewall installed by virtualmin.
Filezilla return timeout only, no error message.
How I check if Proftpd is running ?

Can you share the exact error message you’re seeing when trying to connect?

A timeout often is firewall related (including any router that happens to be running in front of your server).

You can see what is running on port 21 with this command:

netstat -anlp | grep :21

I stopped FirewallD and it work

You can disable Firewalld and install something more easier to manage. I like too much of CSF and have module for Webmin, so you can managem your firewall without problem. I’m finishing my configuration of CSF and I can share here without problem. Commented too.

Or you just have to Open a port in Firewalld, running command line:


firewall-cmd --permanent --add-port=21/tcp
firewall-cmd --reload


To install CSF: https://download.configserver.com/csf/install.txt

Remember to disable and stop Firewalld before install CSF.

I have configured FirewallD and it work
Thanks