Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Step 1 - Enable connection
# Backup the current configuration file. (optional)
sudo mv /etc/vsftpd.conf /etc/vsftpd.backup
# Uninstall vsftpd and purge the configuration files.
sudo apt-get remove --purge vsftpd
# Lastly, re-install vsftpd.
sudo apt-get install vsftpd
# Test
ftp -p x.x.x.x

The default password for the user 'ubuntu' on Ubuntu is blank.

Step 2 - Permission to edit the file /etc/vsftpd.conf
sudo chown -R username /path/to/directory

sudo chown -R ubuntu /etc/vsftpd.conf

Step 3 - Enable writing
In the file "/etc/vsftpd.conf", uncomment the line

Watch this video how to change the file permission in Terminal instead of using a Text Editor:
sudo su
vi /etc/vsftpd.conf
ESCAPE :wq (to exit)

Save the file and restart vsftpd with sudo service vsftpd restart

Connection is always refused by Ubuntu in a Virtual Machine (Hyper-V)

Hi, I'm new, I watched so many YouTube Tutorials but they just enter the IP address without explaining how did they get it.

Host name:
I tried to intentionally fake the IP address, for example instead of then the result is "Network error: Connection time out" instead of refused, which means that the IP address exists but just refused.

Username and password:
People say that the default username and password of Ubuntu are nothing, so I just type nothing for them.

WinSCP: Version 5.19.1 (Build 11552)

To zoom the image below, right click and image in new tab.