Report this

What is the reason for this report?

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

Posted on September 22, 2016

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?



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!

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.