FTP connection issue on Plesk server.

On new server mostly,we are not able to connect FTP.In that case refer following steps.

Loin in to server as root user and check logs while connection FTP

[root@server]# tail -f /var/log/messages

Mar 22 00:39:15 server proftpd[14539]: server.localhost.com – Failed binding to ::, port 21: Address already in use
Mar 22 00:39:15 server proftpd[14539]: server.localhost.com – Check the ServerType directive to ensure you are configured correctly.

 

Mar 22 00:39:15 server xinetd[14353]: EXIT: ftp status=0 pid=14538 duration=0(sec)

Open file proftpd.conf

[root@server]# nano /etc/proftpd.conf

Replace following line from

ServerType standalone

To

ServerType inetd

Now restart the xinit service.

/etc/init.d/xinetd restart

Or

service xinetd restart

After restarting xinit service try to connect FTP from command line.

E:\Users\>ftp 111.111.111.111
Connected to 111.111.111.111.
220 ProFTPD 1.3.2e Server (ProFTPD) [111.111.111.111]
User (111.111.111.111:(none)):

About Anant 386 Articles
Senior technical writer