我刚刚在我的 Windows Server 2012 R2 机器上的 IIS 8.5 中设置了一个 FTP 服务器。
使用 FileZilla 当我尝试使用我的用户名和密码在端口 21 上连接到本地 IP (10.0.0.4) 时,它会连接得很好,但是当我尝试连接外部 IP 时,我收到此错误
服务器发送带有不可路由地址的被动回复。改用服务器地址
这是完整的日志
Status: Disconnected from server
Status: Connecting to 191.23x.xx.111:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Connected
Status: Retrieving directory listing...
Status: Server sent passive reply with unroutable address. Using server address instead.
Command: LIST
Response: 150 Opening BINARY mode data connection.
Error: Connection timed out after …
Run Code Online (Sandbox Code Playgroud)