Ubuntu的ftp突然连不上了

Ubuntu下账号ftp突然连不上了,多人使用的服务器,也不知道是怎么回事

看vsftpd.conf跟一台正常使用的配置是一样的。从网上查找原因

把配置里原来

# Run standalone?  vsftpd can run either from an inetd or as a standalone
 13 # daemon started from an initscript.
 14 listen=NO
 15 #
 16 # This directive enables listening on IPv6 sockets. By default, listening
 17 # on the IPv6 "any" address (::) will accept connections from both IPv6
 18 # and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6
 19 # sockets. If you want that (perhaps because you want to listen on specific
 20 # addresses) then you must run two copies of vsftpd with two configuration
 21 # files.
 22 listen_ipv6=YES
改为

listen=YES

listen_ipv6=NO

重启服务 sudo service vsftp restart

ftp又能正常连上了,这到底是什么坑呢。。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值