本文主要是介绍响应: 425 Rejected data connection for transfer of /, IP addresses of control and data connection do,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
参考:http://geekswithblogs.net/Lance/archive/2008/01/24/ftp-error-425-quotcant-open-data-connection.quot.aspx
使用 FileZilla_3.30.0_win64-setup_bundled.exe 连接服务器,提示错误如下:
响应: 425 Rejected data connection for transfer of "/", IP addresses of control and data connection do not match
老外的说法:
One of the most common questions I get about FTP has to do with error 425, "Can't open data connection." This is indeed a protocol level error that is defined in the RFC. Its meaning is obvious: the data connection (for a directory listing, upload, or download) was unable to be established.
First - the most common solution: change the active/passive mode settings. But that might not work, and if it does its only a band-aid covering up the real problem.
As I've mentioned in the past, one of the most common reasons that this error occurs is a misconfiguration of the FTP server software itself, related to SSL connections and firewalls, in which the connection tries to establish itself on a bogus ip address. Read more about FTP SSL through a NAT firewall here, some potential solutions are included.
There are other less likely causes, such as:
- The server is configured to always use the same port for passive mode connections, or the client is configured to always use the same port for active mode connections, although in this case usually the software in question should raise a different error first, but I've seen this happen.
- In passive mode, the firewall in front of the FTP server doesn't have the correct ports open. So the server tells the client to connect to ipaddress 1.2.3.4 on port x, but the firewall doesn't allow incoming connections on port x. Most firewalls are smart enough to open up the port when it sees the PASV response. Vice versa for active mode and the firewall in front of the FTP client.
这篇关于响应: 425 Rejected data connection for transfer of /, IP addresses of control and data connection do的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!