VSFTPD Multiple FTP sites with default port '21'
Hi,
I am trying to create multiple FTP sites on one Linux server (using multiple vsftpd-sitename.conf files) with default port '21'.
Below is the sample vsftpd site configuration,
# cat vsftpd-site1.conf
listen=YES
write_enable=YES
pam_service_name=vsftpd
anon_upload_enable=YES
anon_mkdir_write_enable=YES
guest_enable=YES
chroot_local_user=YES
hide_ids=YES
anon_root=/data
anonymous_enable=YES
listen_address=192.168.169.1
listen_port=21
I am unable to create above vsftpd site with port '21'. Below is the problem,
# vsftpd vsftpd-site1.conf &
[1] 14448
500 OOPS: could not bind listening IPv4 socket
I wonder, i can able to create above FTP site with another port (example, listen_port=60001 ).
In Linux(vsftpd), can i use default ftp port '21' for multiple FTP sites? if yes, what is the possible way?
Thanks in advance.
Last edited by maddy_elx; 05-30-2011 at 07:35 AM.
Reason: minor change
|