Chinaunix

标题: vsftpd问题?? [打印本页]

作者: pingshx    时间: 2005-07-26 17:04
标题: vsftpd问题??
以前vmware上装的redhat 9, 可以正常的通过vsftpd把文件上传到redhat上,
今天vmware上装的redhat enteprise linux4,开通了vsftpd服务,其它的机子也可以与它互ping通。但:
D:\>;ftp 171.17.0.72
Connected to 171.17.0.72.
Connection closed by remote host.

D:\>;ping 172.17.0.72

Pinging 172.17.0.72 with 32 bytes of data:

Reply from 172.17.0.72: bytes=32 time=1ms TTL=64
Reply from 172.17.0.72: bytes=32 time<1ms TTL=64
Reply from 172.17.0.72: bytes=32 time<1ms TTL=64
Reply from 172.17.0.72: bytes=32 time<1ms TTL=64

Ping statistics for 172.17.0.72:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms

还要什么设置??先谢过大家。
作者: pingshx    时间: 2005-07-26 17:06
标题: vsftpd问题??
对了,linux上的IP是动态生成的。会不会是这个问题?
作者: wolfg    时间: 2005-07-26 17:24
标题: vsftpd问题??
原帖由 "pingshx" 发表:


D:\>;ftp 171.17.0.72
Connected to 171.17.0.72.
Connection closed by remote host.

D:\>;ping 172.17.0.72


IP到底是哪个
作者: pingshx    时间: 2005-07-26 17:31
标题: vsftpd问题??
wolfg:你好,IP写错了。改后结果还是:
D:\>;ftp 172.17.0.72
Connected to 172.17.0.72.
Connection closed by remote host.

在linux /etc/init.d启动了vsftpd服务。
作者: ligang123    时间: 2005-07-26 21:08
标题: vsftpd问题??
你先在VM中的LINUX中本地测试一下,看看行不行!

应该是在配置文件中有问题!
作者: gaolimin_lose    时间: 2005-07-26 21:16
标题: vsftpd问题??
确认ftp服务起来了,我重新测试了一下,好像在虚拟机上也没有问题啊,另外看看是不是防火墙开着
作者: gaolimin_lose    时间: 2005-07-26 21:18
标题: vsftpd问题??
不过我用的是standalone模式,不过应该没有什么关系啊
作者: 风流涕淌    时间: 2005-07-27 01:37
标题: vsftpd问题??
我想问题的所在,可能是防火墙

先用外边的机器扫VM的机器,看看有没有开21端口
作者: pingshx    时间: 2005-07-27 09:21
标题: vsftpd问题??
防火墙??? 怎么关??
作者: wolfg    时间: 2005-07-27 09:25
标题: vsftpd问题??
先看防火墙有没有起来
service iptables status

如果起来了,关掉
service iptables stop
作者: pingshx    时间: 2005-07-27 09:34
标题: vsftpd问题??
在linux上可以ftp,没问题的。我看下防火墙。
作者: pingshx    时间: 2005-07-27 09:38
标题: vsftpd问题??
hi,谢谢楼上的各位,可以啦!
是防火墙的问题。把防火墙关了,就可以了。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2