【问题标题】:Filezilla - can't access folder when connecting with other computer using ip adress but works localhostFilezilla - 使用 IP 地址与其他计算机连接时无法访问文件夹,但可以在本地主机上工作
【发布时间】:2018-04-15 12:01:10
【问题描述】:

当我在计算机上使用 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

【问题讨论】:

  • 防火墙? NAT?您的防火墙上打开了哪些端口?
  • 请将您的问题移至Super User(在此处删除,在此处重新发布)。这是off-topic here
  • @EssemCSH 你解决了吗?

标签: ftp filezilla


【解决方案1】:

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

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

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

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

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

【讨论】:

    猜你喜欢
    • 2019-04-08
    • 2019-04-25
    • 1970-01-01
    • 1970-01-01
    • 2012-10-23
    • 1970-01-01
    • 1970-01-01
    • 2017-11-30
    • 1970-01-01
    相关资源
    最近更新 更多