我可以从本地计算机访问FTP站点而不会出现问题,但是它在远程计算机上超时。
如果我完全关闭防火墙,则可以正常工作。显然,这并不是一个令人满意的解决方案。
我尝试按照以下步骤进行操作,但现在仍然有效。
在远程计算机上,我使用Filezilla作为FTP客户端。下面是我尝试访问该站点时给我的输出。如您所见,它设法连接并进行身份验证,但是列出目录的尝试超时。
有人可以告诉我下一步应该去哪里吗?
Status: Connecting to 192.168.15.12:21...
Status: Connection established, waiting for welcome message...
Response: 220 Microsoft FTP Service
Command: USER CMSDEVELOPMENT\CMSdev
Response: 331 Password required for CMSDEVELOPMENT\CMSdev.
Command: PASS ******
Response: 230-Directory has 71,805,415,424 bytes of disk space available.
Response: 230 User logged in.
Command: OPTS UTF8 ON
Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (192,168,15,12,192,160).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Error: Connection timed out
Error: Failed to retrieve directory listing
查看防火墙日志,我看到以下条目:
2012-04-23 14:44:54 DROP TCP 192.168.15.90 192.168.15.12 55743 49342 52 S 650301735 0 65535 - - - RECEIVE
2012-04-23 14:44:57 DROP TCP 192.168.15.90 192.168.15.12 55743 49342 52 S 650301735 0 65535 - - - RECEIVE
2012-04-23 14:45:03 DROP TCP 192.168.15.90 192.168.15.12 55743 49342 48 S 650301735 0 65535 - - - RECEIVE