As everyone is away from home during the Chinese new year, they need to log in to FTP temporarily. Especially in the face of pneumonia in 2020, most of the employees work from home. But it’s very strange that the following mistakes have been made all the time
ftp>ls
500IllegalPORTcommand.
ftp:bind:Addressalreadyinuse
ftp>
ftp>dir
500IllegalPORTcommand.
At the beginning, I thought it was a network problem, but testing all kinds of situations failed. Then I checked the relevant information on the Internet and found that it was the problem of firewall setting. Solve the problem as follows
FTP commands on the LAN to access FTPSERVER on the external network, the execution of any command (such as dir,ls,put,get) always reports the following error
ftp:500IllegalPORTcommand.425
ftp:UsePORTorPASVfirst
Or the following error
ftp:500IllegalPORTcommand.
ftp:bind:Addressalreadyinuse
This is mainly because the Iptables firewall does not support
ip_nat_ftp
ip_conntrack_ftp
This can be solved by executing the following command on the ftp server in linux
modprobeip_nat_ftp
modprobeip_conntrack_ftp
By executing the above two commands and using active mode, the problem is solved
Original address:
Solution of displaying 500 illegal port command in FTP
Label:
ftp
modprobe
five hundred
Intelligent recommendation
Turn on NFS file system to improve the performance of vagrant shared directory
My Mac collection
ntpdate[16603]: the NTP socket is in use
[No.4 ionic] modify Cordova plug-in
Solutions to common errors in redis service
–Posted from Rpc
Similar Posts:
- FTP connect Error: No route to host [How to Solve]
- Zabbix-server Error: No route to host [How to Solve]
- kube-proxy Error: Failed to delete stale service IP [How to Solve]
- OPENVPN TLS Error: TLS key negotiation failed
- Job for network.service failed because the control process exited with error code [How to Solve]
- [Solved] OpenStack Error: MariaDB ERROR 2002 (HY000): Can’t connect to MySQL server on ‘controller’ (115)
- Linux Error: -bash: !“: event not found [How to Solve]
- Exception: java.security.InvalidKeyException: Illegal key size [How to Solve]
- ideaUnable to ping server at localhost:1099
- [Solved] CentOS 7.2 Startup Error: Failed to start IPv4 firewall with iptables