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

FTPS TLS模式数据连接被拒绝问题求助

FTPS TLS模式数据连接被拒绝问题求助

大家好,我最近在使用FTPS的TLS模式进行连接时,碰到了数据连接被拒绝的问题,折腾了好一阵都没搞定,特意把完整的连接日志贴出来,希望有经验的朋友能帮忙分析下原因,给出解决思路~

< 2024-02-08 10:31:19.445 Read 16 bytes
< 2024-02-08 10:31:19.459 200 'TYPE' OK.
< 2024-02-08 10:31:19.459 PASV
. 2024-02-08 10:31:19.554 TLS connect: SSL negotiation finished successfully
. 2024-02-08 10:31:19.554 TLS connect: SSL negotiation finished successfully
. 2024-02-08 10:31:19.554 TLS connect: SSLv3/TLS read server session ticket
. 2024-02-08 10:31:19.554 Read 49 bytes
< 2024-02-08 10:31:19.554 227 Entering Passive Mode (102,208,217,16,4,20)
< 2024-02-08 10:31:19.554 MLSD
. 2024-02-08 10:31:19.554 Connecting to 102.208.217.16:1044 ...
. 2024-02-08 10:31:19.554 Connection pending
. 2024-02-08 10:31:19.664 Read 38 bytes
< 2024-02-08 10:31:19.664 150 Opening 'ASCII' data connection.
. 2024-02-08 10:31:19.664 Data connection opened
. 2024-02-08 10:31:19.664 TLS layer changed state from none to connected
. 2024-02-08 10:31:19.774 Read 135 bytes
< 2024-02-08 10:31:19.774 425-Rejecting data connection from xx.xx.xx.xx1 (only xx.xx.xx.xx2 allowed)

从日志里能看到服务器明确拒绝了当前的数据源IP,只允许指定的xx.xx.xx.xx2连接,但我这边的IP确实是业务场景需要使用的,想问问有没有办法调整服务器配置或者客户端设置来解决这个问题呢?

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.04.17 11:34:55