vsftpd - 500 Illegal PORT command. ftp: bind: Address already in use
by ceantuco from LinuxQuestions.org on (#5PVVS)
Hi,
I just installed vsftpd on Debian 11 server. I am able to connect to it; however, when I attempt to issue commands such as ls, dir, get or put I get the error below:
Code:500 Illegal PORT command.
ftp: bind: Address already in useI am using UFW and I opened ports 21 and 20:
Code:21/tcp ALLOW Anywhere
20/tcp ALLOW AnywhereSee setting below in vsftpd.conf:
Code:connect_from_port_20=YESWhen I installed ufw, i ran the commands below:
Code:ufw default deny incoming
ufw default allow outgoingWhen I disable the firewall, FTP works as expected.
Please assist
Thank you!
I just installed vsftpd on Debian 11 server. I am able to connect to it; however, when I attempt to issue commands such as ls, dir, get or put I get the error below:
Code:500 Illegal PORT command.
ftp: bind: Address already in useI am using UFW and I opened ports 21 and 20:
Code:21/tcp ALLOW Anywhere
20/tcp ALLOW AnywhereSee setting below in vsftpd.conf:
Code:connect_from_port_20=YESWhen I installed ufw, i ran the commands below:
Code:ufw default deny incoming
ufw default allow outgoingWhen I disable the firewall, FTP works as expected.
Please assist
Thank you!