【问题标题】:Filezilla stop connecting after MLSDFilezilla 在 MLSD 后停止连接
【发布时间】:2014-10-02 07:45:23
【问题描述】:

我在 filezilla 通过称为 FTP 的 FTP 客户端连接到服务器时遇到问题。

当我尝试连接到服务器时,我得到了关注

Status: Connecting to xxx.xxx.xxx.xx:21...
Status: Connection established, waiting for welcome message...
Response:   220 ProFTPD 1.3.4a Server (ProFTPD) [xxx.xxx.xxx.xx]
Command:    USER username
Response:   331 Password required for password
Command:    PASS **********
Response:   230 User username logged in
Command:    SYST
Response:   215 UNIX Type: L8
Command:    FEAT
Response:   211-Features:
Response:    MDTM
Response:    MFMT
Response:    TVFS
Response:    UTF8
Response:    MFF modify;UNIX.group;UNIX.mode;
Response:    MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
Response:    LANG ko-KR;it-IT;ja-JP;ru-RU;bg-BG;zh-CN;fr-FR;zh-TW;en-US*
Response:    REST STREAM
Response:    SIZE
Response:   211 End
Command:    OPTS UTF8 ON
Response:   200 UTF8 set to on
Status: Connected
Status: Retrieving directory listing...
Command:    PWD
Response:   257 "/" is the current directory
Command:    TYPE I
Response:   200 Type set to I
Command:    PASV
Response:   227 Entering Passive Mode (xxx,xxx,xxx,xx,xxx,xxx).
Command:    MLSD

它在 MLSD 之后停止,并在一段时间后停止

Error:  Connection timed out
Error:  Failed to retrieve directory listing

当我从手机连接互联网时,我可以通过 ftp 连接到服务器。但我不想那样做。我需要使用我的有线网络。

我使用的是 Windows 7 和笔记本电脑。

请帮我连接。

【问题讨论】:

    标签: windows ftp filezilla


    【解决方案1】:

    使用端口号 22 而不是 21。

    或者你可以给

    ip 喜欢

    sftp://10.1.10.10.10

    取而代之或简单地给予

    【讨论】:

      【解决方案2】:

      如果您正在使用任何代理/vpn,请禁用代理/vpn,并尝试直接连接。

      【讨论】:

        【解决方案3】:

        这里有几个解决方案:

        我们需要澄清一下,这个问题取决于routerfilezilla's config,甚至是ipv6的一些问题??

        • 进入站点管理,选择有问题的站点。选择选项卡“传输设置”并选择“活动而不是“默认”。

        • 验证端口设置为 21

        如果这不起作用,请尝试通过其他服务器(如果可用)使用 ssh 隧道。

        source

        【讨论】:

          【解决方案4】:

          由于某些路由器或防火墙软件阻止了某些服务器的 MLSD 通信,所以我最终的解决方案是停止使用 FileZilla。伤心。

          WinSCP 现在对我来说工作正常。

          【讨论】:

          • 你拯救了我的一天! WinSCP 刚刚处理了所有事情
          【解决方案5】:

          我在 VirtualBox 中尝试连接到 NAT 后面的 ubuntu 服务器 16 时遇到了这个问题,解决方法是在 filezilla 中使用被动模式并配置文件:/etc/proftpd/proftpd.conf

          被动端口 65532 65534

          ->根据需要更改范围

          MasqueradeAddress [MyHost IPAddress or Router external IP in real NAT]

          ->127.0.0.1 将抛出“ECONNREFUSED”而不是“连接超时”

          【讨论】:

            【解决方案6】:

            当 ftp 客户端连接到 ftp 服务器时,大多数情况下使用被动模式。 然后在客户端连接后,服务器会告诉客户端第二个 ftp 端口用于数据通道。

            但这与所描述的问题有什么关系?好吧,当客户端选择通过 SSL 或更好的 TLS 使用加密时,很多情况......

            如果没有加密,大多数防火墙(在 ftp 服务器端)能够读取被动端口通信,然后在服务器的被动端口范围内动态打开第二个端口。这对双方都很好。

            但是通过加密,防火墙无法读取打开哪个端口来让客户端的数据通道连接建立。因此,在 MSLD 请求或任何其他通过数据通道的通信之后,您将不会得到响应。

            如果发生此问题,我敢打赌,在 99.9% 的情况下,服务器端的防火墙系统会阻止客户端的数据通道通信。唯一可能的解决方案是使用更复杂的协议,例如 SFTP,或者如果可能,静态地打开服务器端防火墙上的整个被动端口范围。

            【讨论】:

              猜你喜欢
              • 2021-12-02
              • 1970-01-01
              • 1970-01-01
              • 1970-01-01
              • 1970-01-01
              • 1970-01-01
              • 2020-01-06
              • 1970-01-01
              • 2014-06-17
              相关资源
              最近更新 更多