Solved Vsftpd :500 Illegal PORT command Error

October 14, 2012 at 23:19:03
Specs: Linux x86_64
I have installed vsftpd on ubuntu. When i use 'ls' command.
I getting this error
500 Illegal PORT command Error ftp: bind: Address already in use.

please any1 give me pls

See More: Vsftpd :500 Illegal PORT command Error

October 16, 2012 at 10:55:02
Check, whether there is another FTP server process running on your Linux machine.
You can check netstat -ant and see, whether there is a local ip address listed, that is listening to port 21.
Proto | Recv-Q | Send-Q | Local Address | Foreign Address | State
tcp | 0 | 0 | 192 168.1.100:21 |* | LISTEN

Report •

October 16, 2012 at 16:50:41
✔ Best Answer
Open /etc/vsftpd.conf, search for pasv_enable and set it to yes.
Set the value for pasv_min_port, e.g. 7000.
Set the value for pasv_max_port to 7100.

restart the vsftpd service.

If you've configured port forwarding in the routers setup, make sure, that ports 7000-7100 are forwarded to your ftp servers local ip address.

Report •

October 18, 2012 at 21:57:52
Thank you so much ..

Its working now
I have not mention the ports 7000-7100. so i was getting error.

Now everything works fine.

Report •

Related Solutions

October 18, 2012 at 22:03:40
I have a doubt.

Everytime I need to on passive mode like following.

Name ( ftp
331 Please specify the password.
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> passive
Passive mode on.
ftp> ls

How to add passive mode on permanently..
Thanks in Advance.

Report •

October 19, 2012 at 03:15:37
You may read this:

You can also use man vsftpd.conf on a terminal console, to get more informations on how to configure vsftpd service.

Report •

Ask Question