You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Azure VM中Windows Server 2022 IIS FTP服务器SSL模式下连接成功但无法列出文件的求助

Azure VM中Windows Server 2022 IIS FTP服务器SSL模式下连接成功但无法列出文件的求助

大家好,我最近在Azure的Windows Server 2022虚拟机上用IIS搭了个FTP服务器,折腾半天遇到个头疼的问题,想请各位帮忙分析下:

先说说我的配置情况:

  • 已经把FTP数据通道的端口范围设置为5000-6000
  • FTP站点设置里的“防火墙外部IP地址”已经填了正确的公网IP
  • Azure层面的防火墙已经开放了20、21端口,还有5000-6000这个端口段
  • 为了排除本地防火墙的干扰,我已经临时关闭了Windows VM内部的防火墙

然后是具体的问题现象:

  • 用FileZilla不开启SSL连接的时候,一切都正常,登录、列文件、传文件都没毛病
  • 但切换到SSL模式连接时,明明能成功登录,就是没法列出文件,以下是我截取的FileZilla日志:
Status: Connecting to x.x.x.x:21...
Status: Connection established, waiting for welcome message...
Response:   220 Microsoft FTP Service
Command:    AUTH TLS
Response:   234 AUTH command ok. Expecting TLS Negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command:    USER xx
Response:   331 Password required
Command:    PASS ************
Response:   230 User logged in.
Command:    OPTS UTF8 ON
Response:   200 OPTS UTF8 command successful.
--- 这里之后就卡住了,没有后续列目录的响应 ---

有没有大佬碰到过类似的情况?或者能给我一些排查的方向?实在是搞不定了,谢谢大家!

备注:内容来源于stack exchange,提问作者Paul

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 10:07:58