七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.

简介: 七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.

错误如下:

D:\Office-3.3-project\tools\Upgrader-Server>ftp 192.168.6.66
连接到 192.168.6.66。
220 (vsFTPd 3.0.2)
200 Always in UTF8 mode.
用户(192.168.6.66:(none)): quantum6
331 Please specify the password.
密码:
230 Login successful.
ftp> ls
200 PORT command successful. Consider using PASV.
425 Failed to establish connection.
ftp>

怎么办?

  • 解决办法七(有效)

换用LINUX(或者LINUX虚拟机)。遇到500 Illegal PORT command问题,参考:

https://blog.csdn.net/quantum7/article/details/118079707

  • 办法一(无效)
sestatus -b | grep ftp
setsebool allow_ftpd_full_access 1

吾这边sestatus时什么信息也没有。

  • 办法二(无效)
iptables -I INPUT   -i ppp0 -p TCP   --syn -j DROP 
iptables -I FORWARD -i ppp0 -p TCP ! --syn -j ACCEPT
iptables -A INPUT   -m state --state ESTABLISHED,RELATED -j ACCEPT 
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
modprobe ip_conntrack_ftp 
modprobe ip_nat_ftp
  • 办法三(无效)

电脑连接无线网络,属性设置为“公用”导致,修改为“专用”。

  • 解决办法四(无效)

1.png

  • 办法五(无效)
netsh advfirewall firewall add rule name="FTP" dir=in action=allow program=%SystemRoot%\System32\ftp.exe enable=yes protocol=tcp
netsh advfirewall firewall add rule name="FTP" dir=in action=allow program=%SystemRoot%\System32\ftp.exe enable=yes protocol=udp
netsh advfirewall firewall delete rule name="FTP" program=%SystemRoot%\System32\ftp.exe
  • 办法六(无效)
vsftpd with pasv_enable=YES
500 OOPS: cannot read config file: with
目录
相关文章
真正解决办法:FTP 执行命令时500 Illegal PORT command
真正解决办法:FTP 执行命令时500 Illegal PORT command
3273 0
|
Linux 芯片 开发者
|
数据安全/隐私保护
|
Windows
Windows 技术篇-文件管理器访问ftp服务失败,提示:“打开FTP服务器上的文件夹是发生错误,请检查是否有权限访问该文件夹。”问题解决方法
Windows 技术篇-文件管理器访问ftp服务失败,提示:“打开FTP服务器上的文件夹是发生错误,请检查是否有权限访问该文件夹。”问题解决方法
3333 0
Windows 技术篇-文件管理器访问ftp服务失败,提示:“打开FTP服务器上的文件夹是发生错误,请检查是否有权限访问该文件夹。”问题解决方法
|
网络协议 数据可视化 关系型数据库
firewall-cmd命令详解
firewall-cmd命令详解
|
Linux 网络安全 数据安全/隐私保护
在Linux中,FTP 的主动模式和被动模式是什么?有何区别?
在Linux中,FTP 的主动模式和被动模式是什么?有何区别?
|
监控 安全 网络安全
Failed password for invalid user www from xx.xx.xx.xxx port xxxxx ssh2 问题处理
【5月更文挑战第6天】Failed password for invalid user www from xx.xx.xx.xxx port xxxxx ssh2 问题处理
1513 1
|
安全 网络安全 数据库
扫描神器:Nessus 保姆级教程(附步骤)
扫描神器:Nessus 保姆级教程(附破解步骤)
BUUCTF [ACTF新生赛2020]NTFS数据流 1
BUUCTF [ACTF新生赛2020]NTFS数据流 1
550 1