ftp连接报 500 00PS: could not bind listening IPv4 socket

问题现象:在VMWare上装了一个open suse linux系统,开启ftp服务后,用ftp登录报如下错误:

500 00PS: could not bind listening IPv4 socket

 

解决办法:

#vi /etc/vsftpd.conf

文件内容中把下面这行注释掉

#listen=YES

保存后重启服务 #service xinetd restart

 

原因分析:vsftp有两种运行模式,xinetd模式和standalone模式。linux默认使用了xinetd启动ftp,如果在用statdalone模式去启动ftp,就会报错。

你可能感兴趣的:(socket)