Hello,
First check is to see if the ubuntu VM is listening to the port 21. Run netstat -ant | grep 21 to look at the port status. If you do not see the port is listening, probably ftp is not installed or running on the VM. Run using: sudo service vsftpd start
sudo apt-get install vsftpd will install sftp, if not installed at all
Please mark as "Accept the answer" if the answer helps you. Your suggestion will help others also !
Regards,
Manu