Article 5PVVS vsftpd - 500 Illegal PORT command. ftp: bind: Address already in use

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!latest?d=yIl2AUoC8zA latest?i=Z3v81szYv3w:dpYAxMqD1KM:F7zBnMy latest?i=Z3v81szYv3w:dpYAxMqD1KM:V_sGLiP latest?d=qj6IDK7rITs latest?i=Z3v81szYv3w:dpYAxMqD1KM:gIN9vFwZ3v81szYv3w
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments