vsftp stopped working after installing Main-in-a-box

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*    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 but its not working now. how can i fix this?

I changed my hostname recently, is it going to affect any on VSFTP?


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.

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.