vsftpd 421 service not available
- filezilla 连接ftp提示
421 service not available - ftp xxx.xxx.xxx.xxx提示
421 service not available - 抓包,提示
421 service not available
思路
- 先看日志,把日志开起来
vi /etc/vsftpd.conf
use_localtime=YES
dual_log_enable=YES
- 连接一次,日志报错
Tue Apr 23 14:39:26 2019 [pid 42813] CONNECT: Client "117.149.3.174", "Connection refused: tcp_wrappers denial."
- 查看
/etc/hosts.deny
all:all
- 原来是服务被禁止登录了,那么只要开来就可以了
- 在
/etc/hosts.allow中加上
vsftpd:all:allow
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
