解决 FTP OOPS: vsftpd: both local and anonymous access disabled!

浏览1109

与服务器断开

连接失败

OOPS: vsftpd: both local and anonymous access disabled!

image.png

出现这个问题是因为我们在搭建FTP的时候关闭过防火前导致的,我们只需开启即可。然后开启端口

解决方法:

步骤1:开启21端口

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT

步骤2、重启防火墙

service iptables restart

/bin/systemctl restart iptables.service

步骤3、修改vsftpd.conf配置

vim /etc/vsftpd/vsftpd.conf

开启local_enable=YES

image.png

Ok。没问题了

image.png



  • 暂无任何回答