i have followed this tutorial to set up Mail server in existing Web server droplet.
everything went well, but VSFTP stopped working
i tried this command to see the ports
sudo netstat -ntlp | grep LISTEN
and VSFTP is listening on
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 17250/vsftpd
i can able to access it from my local machine but its not working from external machines.
i used to access it like ftp://mydomain.com
but its not working now. how can i fix this?
I changed my hostname
recently, is it going to affect any on VSFTP?
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
The mailinabox setup you linked auto-configures a firewall on your droplet with UFW. You would have to open the port(s) you wish to use for vsftpd in order to access the service.
All droplets also come with an SFTP service running on port 22 (as part of the SSH server) which you can access with a client like filezilla. SFTP is fully encrypted and provides a much more secure way to manage your files.