vsftpd service 20 port not running

Latest response

Hi All,

I have installed vsftpd and ftp services but after starting the vsftpd service 20 port is not running, Because of that unable to transfer files.

Below commands output for reference :

[root@localhost ~]# systemctl status vsftpd
● vsftpd.service - Vsftpd ftp daemon
   Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled)
   Active: active (running) since Sun 2021-11-07 07:54:17 IST; 7s ago
  Process: 2151 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=0/SUCCESS)
 Main PID: 2172 (vsftpd)
    Tasks: 1 (limit: 11079)
   Memory: 760.0K
   CGroup: /system.slice/vsftpd.service
           └─2172 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf

[root@localhost ~]# netstat -nap |grep -w 20
[root@localhost ~]# netstat -nap |grep -w 21
tcp6       0      0 :::21                   :::*                    LISTEN      2172/vsftpd

[root@localhost ~]# setenforce 0
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# iptables -F

Responses