Recently Installed ProFTPd is refusing connection

Posted October 20, 2015 5.5k views
Linux BasicsDeployment

Recently Installed ProFTPd is refusing connection. I have followed the tutorial for installing it and have ensure it has been set as Standalone as the inted mode was causing it to refuse to be started. How can I troubleshoot this to find if it is a problem in the configuration?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Please use SSH/SCP/SFTP/rsync-over-ssh instead of FTP:

@Woet What kind of reply is that.....?

Which tutorial did you use? If you give some more information, for examply about your droplet, what you did and if the logs show any usefull information, we could give you some advice what to do.
It is recommended to use SFTP because its safer and better to use these days. You can find a tutorial about that right here
If you want to use SFTP, FTP or anything; make sure you got your firewall setup correctly. It should allow different kind of ports (for FTP 21 and passive port range for example 30000-50000).

by Justin Ellingwood
ProFTPd is a popular FTP server for transferring files between your local computer and server. However, FTP as a protocol is very insecure. In this guide, we will show you how to configure ProFTPd to use SFTP, a secure alternative, instead of FTP.
  • @CrypticDesigns - If you would have read the link, you would have seen that FTP is a protocol that sends your password and data plaintext over the internet. Do not use it.

    You don’t need proftpd to use SFTP, sshd has it built in. Just connect to port 22.

  • @CrypticDesigns

    Sorry for the lack of info.

    I setup proFTPd using the following tutorial:

    After solving a issue with it not being able to start, I changed proFTPd to Standalone mode and it seems to be able to run.

    I added a user and made the listed changes in the proFTPd.conf using this tutorial:

    For the home directory, I put <Directory /*i> instead of <Directory /home/yuuki> an attempt to give FTP access to the root, not completely sure that’s that best way to go about that.

    I am able to stop and restart the proFTPd service and I am able to use

    sudo/etc/init.d/proftpd check-config

    From which, I get a ‘ProFTPD configuration OK’

    However, I attempt to connect to the ftp with the credentials I have created in FileZilla and I get a message that the Connection had been refused. I later tried again with no change to the server or configuration file and I am getting a 503 that my credentials are incorrect. I changed the password of the user I created for the ftp and still continue to get the message.

    At this point, it may be obvious I am a beginner with this so any help would be greatly appreciated.

    by Etel Sverdlov
    ProFTPD is a popular ftp server. Although it is not the lightest ftp server available for virtual servers, it is a powerful and configurable program. This tutorial explains how to install, configure, and access the ProFTPD server. It is written for Ubuntu 12.04.
    • Allright, now are you trying to setup a system were multiple users can login with a virtual FTP user (like being used for website directory access) or is it just that you on your root user would like to transfer files?
      If its only you on your root user, use SFTP on the 22 port supported by SSH. Like Woet says this is more secure and already implemented in the SSH service. Only thing you have to do is open port 22 when you got a firewall running and you can connect to it with a client like WinSCP.

      @Woet I saw the link and I know everything about it. I suggested he should run SFTP instead because I think he would like to setup a virtual user environment for example used with accessing websites. This is how I also use it, so you don’t have to use linux users.