Question

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

Situation:

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.nlclass.nl virtualmin

wget http://software.virtualmin.com/gpl/scripts/install.sh

sudo bash install.sh

MY_IP:10000

installed mail client in virtualmin

installed 2 Wordpress websites on virtualmin

created ftp users in virtualmin https://i.imgur.com/sYYEfl6.png

virtualmin file manager (ownership & attribute mode): https://i.imgur.com/Xx8ecoT.png

created ftp users in Ubuntu vsftpd https://i.imgur.com/VP5l9H9.png

vsftpd config files:

1: https://i.imgur.com/pMCXPuV.png

2: https://i.imgur.com/uJyRScv.png

Problem:

in Filezilla I get the error: connection timed out https://i.imgur.com/INz0MZ4.png

Question:

How can I fix my ftp?

Subscribe
Share

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

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.

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