2台虚拟机,1台做VSFTP服务器,FTP设置没有问题,standlone启动FTP时2号机可以正常的使用,但将FTP服务器设置xinetd托管,监听20,21端口正常,再用另外一台实验机连接的时候一直提示:
Connected to 192.168.0.121.
421 Service not available, remote server has closed connection
/etc/xinetd.d/vsftpd是这样设置的:
service ftp
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
port = 21
disable = no
}
请问是不是/etc/xinetd.d/vsftpd文件写的有问题? 求指点~