Filezilla - 使用ip地址与其他计算机连接时无法访问文件夹但是使用localhost

时间:2018-04-15 12:01:11

标签: ftp filezilla

当我在计算机上使用localhost进行连接时,filezilla服务器就可以正常工作了,但是当我连接IP-Adress时(正确端口转发,我100%肯定),会发生这种情况:

Status: Connecting to **.**.**.**:800...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Logged in
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 (**,**,**,**,***,***)
Command:    MLSD
Error:  The data connection could not be established: ECONNREFUSED - 
Connection refused by server
Response:   425 Can't open data connection for transfer of "/"
Error:  Failed to retrieve directory listing

1 个答案:

答案 0 :(得分:0)

发生这种情况时,通常会出现防火墙配置问题。

除控制连接外,FTP还在数据传输之前需要在不同端口上使用数据连接。

这意味着您必须打开防火墙上的端口以允许数据传输,当然,您应该让FileZilla Server知道这一点。

对于被动模式传输,您应该从下面的窗口设置范围端口:

enter image description here

当然这些端口也应该在防火墙上打开。可以找到更长时间的讨论here

相关问题