ses*_*ker 5 windows firewall ftp ftps
我已在 FileZilla 服务器中设置了自签名证书,并启用了基于 SSL/TPS 的 FTP。当我从客户端 FileZilla 连接时,我能够进行身份验证,但无法获取目录列表:
Status: Connecting to MY_SERVER_IP:21...
Status: Connection established, waiting for welcome message...
Response: 220-FileZilla Server version 0.9.39 beta
Response: 220-written by Tim Kosse (Tim.Kosse@gmx.de)
Response: 220 Please visit http://sourceforge.net/projects/filezilla/
Command: AUTH TLS
Response: 234 Using authentication type TLS
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER MYUSER
Status: TLS/SSL connection established.
Response: 331 Password required for MYUSER
Command: PASS ********
Response: 230 Logged on
Command: PBSZ 0
Response: 200 PBSZ=0
Command: PROT P
Response: 200 Protection level set to P
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I
Command: PORT 10,10,25,85,219,172
Response: 200 Port command successful
Command: MLSD
Response: 150 Opening data channel for directory list.
Response: 425 Can't open data connection.
Error: Failed to retrieve directory listing
Run Code Online (Sandbox Code Playgroud)
我在防火墙上打开了端口 21 和 50001 到 50005。我们正在迁移服务器 - 50001 - 50005 是帮助 FTPS 在旧服务器上运行的因素之一。我不确定此安装是否会使用相同的端口?还有什么问题?