Debian ftp access port 21 not working

7 posts / 0 new
Last post
#1 Tue, 11/06/2018 - 06:50
pol2095

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

Tue, 11/06/2018 - 07:06
marcelorp

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

Tue, 11/06/2018 - 11:00
pol2095

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

Tue, 11/06/2018 - 11:06
andreychek

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

Tue, 11/06/2018 - 15:04
pol2095

I stopped FirewallD and it work

Tue, 11/06/2018 - 15:14
marcelorp

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.

Tue, 11/06/2018 - 15:15
pol2095

I have configured FirewallD and it work Thanks

Topic locked