七个办法只有一个有效: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

办法三(无效)

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


解决办法四(无效)

image.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
目录
相关文章
|
Web App开发 前端开发
【前端异常】Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
【前端异常】Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
884 0
|
Linux
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
3659 0
七个办法只有一个有效:200 PORT command successful. Consider using PASV.425 Failed to establish connection.
【已解决】kex_exchange_identification: Connection closed by remote host fatal: Could not read from
【已解决】kex_exchange_identification: Connection closed by remote host fatal: Could not read from
|
7月前
|
Linux 数据安全/隐私保护
Could not connect to ‘121.37.92.110‘ (port 22): Connection failed.
Could not connect to ‘121.37.92.110‘ (port 22): Connection failed.
|
7月前
Could not connect to ‘x.x.x.x ‘(port 22): Connection failed.Failed to start sshd.service:
Could not connect to ‘x.x.x.x ‘(port 22): Connection failed.Failed to start sshd.service:
|
7月前
|
Ubuntu Linux C语言
Could not establish connection to “xx.xx.xx.xx“:The VS Code Server faild to start.【重要解决方案】
Could not establish connection to “xx.xx.xx.xx“:The VS Code Server faild to start.【重要解决方案】
246 0
|
SQL druid Java
解决 ‘The last packet successfully received from the server was xxx milliseconds ago‘ 问题
解决 ‘The last packet successfully received from the server was xxx milliseconds ago‘ 问题
957 0
|
数据安全/隐私保护
记录curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused解决方案
关于这个错误其实遇到过好多次了,基本都是在每次换电脑之后执行
记录curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused解决方案
|
jenkins 持续交付 网络安全
2. 成功解决 BUG:Exception when publishing, ...[Failed to connect and initialize SSH connection...
SSH: Connecting from host [WIN-...] SSH: Connecting with configuration [192.168....] ... ERROR: Exception when publishing, exception message [Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [192.168....]. Message [java.net.ConnectException: Connection
1676 0
|
NoSQL MongoDB
运行 mongo 出现 Error: couldn‘t connect to server 127.0.0.1:27017, connection attempt failed
运行 mongo 出现 Error: couldn‘t connect to server 127.0.0.1:27017, connection attempt failed
1094 0
运行 mongo 出现 Error: couldn‘t connect to server 127.0.0.1:27017, connection attempt failed