C:\Windows\system32>ftp 10.0.0.8
> ftp: connect :连接超时
ftp>
而抓包工具有反应
20:06:52.179624 IP 10.0.0.5.59854 > 10.0.0.8.21: Flags [S], seq 285751614, win 8192, options [mss 1460,nop,nop,sackOK], length 0
0x0000: 4500 0030 4feb 4000 4006 d6d0 0a00 0005 E..0O.@.@.......
0x0010: 0a00 0008 e9ce 0015 1108 393e 0000 0000 ..........9>....
0x0020: 7002 2000 1ae9 0000 0204 05b4 0101 0402 p...............
[root@localhost ~]# service vsftpd start 为 vsftpd 启动 vsftpd: [确定] [root@localhost ~]# netstat -tuln Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:57876 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
这个是开启的呢,你看端口21
10.0.0.8的vftpd服务是否打开? service vftpd status 21端口是否打开? netstat -an