【问题标题】:425 Rejected data connection from foreign address425 拒绝来自外部地址的数据连接
【发布时间】:2017-10-24 11:02:44
【问题描述】:

我现在遇到问题,我的服务器托管服务提供商无法解决此问题。

当我打开、保存、删除文件时,我收到 425 错误。

FileZilla 日志:

2017-05-24 16:04:24 4812 1 Status: Connecting to ***.***.***.**:2121...
2017-05-24 16:04:24 4812 1 Status: Connection established, waiting for welcome message...
2017-05-24 16:04:24 4812 1 Response: 220 Multicraft 2.1.1 FTP server
2017-05-24 16:04:24 4812 1 Command: USER **************@gmail.com.3503
2017-05-24 16:04:24 4812 1 Response: 331 Username ok, send password.
2017-05-24 16:04:24 4812 1 Command: PASS ********
2017-05-24 16:04:25 4812 1 Response: 230 Login successful
2017-05-24 16:04:25 4812 1 Command: SYST
2017-05-24 16:04:25 4812 1 Response: 215 UNIX Type: L8
2017-05-24 16:04:25 4812 1 Command: FEAT
2017-05-24 16:04:25 4812 1 Response: 211-Features supported:
2017-05-24 16:04:25 4812 1 Response:  EPRT
2017-05-24 16:04:25 4812 1 Response:  EPSV
2017-05-24 16:04:25 4812 1 Response:  MDTM
2017-05-24 16:04:25 4812 1 Response:  MLST type*;perm*;size*;modify*;unique*;unix.mode;unix.uid;unix.gid;
2017-05-24 16:04:25 4812 1 Response:  REST STREAM
2017-05-24 16:04:25 4812 1 Response:  SIZE
2017-05-24 16:04:25 4812 1 Response:  TVFS
2017-05-24 16:04:25 4812 1 Response:  UTF8
2017-05-24 16:04:25 4812 1 Response: 211 End FEAT.
2017-05-24 16:04:25 4812 1 Command: OPTS UTF8 ON
2017-05-24 16:04:26 4812 1 Response: 200 OK
2017-05-24 16:04:26 4812 1 Command: OPTS MLST type;perm;size;modify;unix.mode;unix.uid;unix.gid;
2017-05-24 16:04:26 4812 1 Response: 200 MLST OPTS type;perm;size;modify;unix.mode;unix.uid;unix.gid;
2017-05-24 16:04:26 4812 1 Status: Logged in
2017-05-24 16:04:26 4812 1 Status: Retrieving directory listing...
2017-05-24 16:04:26 4812 1 Command: PWD
2017-05-24 16:04:26 4812 1 Response: 257 "/" is the current directory.
2017-05-24 16:04:26 4812 1 Command: TYPE I
2017-05-24 16:04:27 4812 1 Response: 200 Type set to: Binary.
2017-05-24 16:04:27 4812 1 Command: PASV
2017-05-24 16:04:27 4812 1 Response: 227 Entering passive mode (172,106,203,31,157,129).
2017-05-24 16:04:27 4812 1 Command: MLSD
2017-05-24 16:04:27 4812 1 Response: 150 File status okay. About to open data connection.
2017-05-24 16:04:27 4812 1 Response: 226 Transfer complete.
2017-05-24 16:04:27 4812 1 Status: Directory listing of "/" successful
2017-05-24 16:04:56 4812 1 Status: Retrieving directory listing of "/plugins"...
2017-05-24 16:04:56 4812 1 Command: CWD plugins
2017-05-24 16:04:56 4812 1 Response: 250 "/plugins" is the current directory.
2017-05-24 16:04:56 4812 1 Command: PWD
2017-05-24 16:04:57 4812 1 Response: 257 "/plugins" is the current directory.
2017-05-24 16:04:57 4812 1 Command: PASV
2017-05-24 16:04:57 4812 1 Response: 227 Entering passive mode (172,106,203,31,195,123).
2017-05-24 16:04:57 4812 1 Command: MLSD
2017-05-24 16:04:57 4812 1 Response: 150 File status okay. About to open data connection.
2017-05-24 16:04:57 4812 1 Response: 425 Rejected data connection from foreign address 122.3.233.21:60116.
2017-05-24 16:04:57 4812 1 Error: Failed to retrieve directory listing

【问题讨论】:

  • 我猜你的本地 IP 地址一直在变化。是否使用移动连接(或类似连接)?
  • 我没有使用移动连接
  • 好的,但是您的外部IP地址是否改变?或者 122.3.233.21 是什么?
  • 它总是在变化,我不知道为什么。

标签: windows ftp ftp-client


【解决方案1】:

您的本地 IP 地址不断变化。

并且 FTP 服务器不会接受来自不同于最初打开 FTP 连接的 IP 地址的数据连接。

除了固定 IP 地址外,您无能为力。 什么超出了 Stack Overflow 的范围。对于该问题,请转到 [su]。但请确保您在那里分享一些可以帮助您的信息。您的帖子没有说明您的连接。

【讨论】:

  • 如何修复我的 IP 地址?
  • 你看我的回答了吗?这超出了 Stack Overflow 的范围。转到Super User。如果您想得到答复,您必须告诉我们/他们有关您的联系的任何信息!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2013-10-13
  • 1970-01-01
  • 2011-11-20
  • 2017-01-13
  • 2015-03-29
  • 2016-01-16
  • 2016-06-24
相关资源
最近更新 更多