Cannot Connect to Ftp via Filezilla on Lightsail

I created an instance of Debian on Amazon Lightsail. Everything works fine except FTP. I added port 21 to the firewall:

Next, I followed these instructions to the letter on how to install proftpd:

As a last step, I added a password to the proftpd user and restarted the service. Then added an FTP connection in Filezilla with the following data:

And I get the following error:

Does anyone use ftp with Lightsail?

1

2 Answers

Question:

Does anyone use ftp with Lightsail?

Answer: Probably not.

Explanation: FTP is a very old protocol that has some drawbacks (uses random ports, no encryption...). Lightsail was launched in 2016, when most companies had already switched from FTP to FTPS or SFTP. There still are use cases for FTP but I doubt many would use it to communicate with their servers hosted on a service such as Lightsail.


If the goal is to update WordPress plugins, I recommend using wp-cli instead of going through the hassle of setting up a FTP server.

6

If you're looking for connecting lightsail to filezilla, hereis how

  1. Download SSH Key
  2. Open filezilla,

    2.1 Go to Edit > Settings > Connection > SFTP , Then click on Add key file...

    2.2 Then, Press ctrl+s to open sitemanager, under General tab

     Protocol : SFTP - SSH File Transfer Protocol 
     Host : your_lightsail_static_ip
     Logon Type : Interactive
     User : light_sail_provided_user_name
    

That's it done.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest