ftp error: connection timed out. How can I troubleshoot it?


My Wordpress is on Ubuntu18 droplet (hosting: digitalocean).

I installed virtualmin

My installation process:

sudo apt-get update

sudo hostnamectl set-hostname virtualmin

sudo nano /etc/hosts

MY_IP virtualmin


sudo bash


installed mail client in virtualmin

installed 2 Wordpress websites on virtualmin

created ftp users in virtualmin

virtualmin file manager (ownership & attribute mode):

created ftp users in Ubuntu vsftpd

vsftpd config files:




in Filezilla I get the error: connection timed out


How can I fix my ftp?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, @michaellobry

You can first make sure that the vsftpd service is running. Also, you can try to telnet to the droplet on port 22 and confirm if the connection is successful

The other option will be to use ProFTPD which should also be the default option for the FTP type.

Hope that this helps! Regards, Alex