PhpStorm FTP上传失败。
[17-1-16 下午5:17] Failed to transfer file '/a': cant open output connection for file "ftp://192.168.1.229:21/a". Reason: "425 Unable to build data connection: Cannot assign requested address".
[17-1-16 下午5:17] Upload to server completed in less than a minute: 108 files transferred, 3 items failed (541.1 Kb/s)
我的PhpStorm在深度系统上运行(Linux)
net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_tw_recycle=1
net.ipv4.ip_local_port_range = 10000 65000
我尝试更改端口数量,但仍然无法上传。
谁能帮我 ?
最佳答案
我在IntelliJ IDEA中遇到了同样的问题。
将连接类型从 FTP 更改为 SFTP 很有帮助。希望您也可以。
关于sockets - PhpStorm FTP 425无法建立数据连接: Cannot assign requested address,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41673600/