I'm having trouble connecting to my vsftpd server, and I'm not sure what to do. I installed vsftpd, but when I try to connect using FTP and my IP address, it simply says "Connection Refused." I attempted to disable the firewall, but that didn't resolve the issue.
Do I need to create a user or perform any additional steps to get it working? I'm stuck and would appreciate any guidance on making this work. Thanks in advance!
I have problems in the past with this and i solved it, i'm gonna do a guide to help u step by step since the beginning .
1.-Install vsftpd
2.-If u need to change something edit the file vsftpd.conf
3.-You can add or change some lines like the next ones inside the file.
4.-Now, you need to create the directory of your local root like this:
5.-Then, you should create some users, in my case i will create the downloader, uploader and administrator one.
6.-Lets change the permission of the users in the directories, in my case i will give them this ones.
7.-You can create a directory to users configuration.
and give it some users directives.
8.-In my case this files containe :
uploader
downloader
admin
9.-If you still have some problems try to disable your firewall with
sudo ufw disabletry to change some permissions on previously directories likesudo chmod 777 /home/user/...if the directories are unreachable, remember try to connect likeftp ip portseparate with spaces, you can also restart vsftpd likesudo systemctl restart vsftpd