Urgent: I have messed up FTP in Ubuntu VM

Marcello.ligi

New Member
Joined
Aug 23, 2020
Messages
4
Reaction score
0
Credits
34
I was trying to fix some issue with FTP on my Ubuntu Linux, I have tried to uninstall and reinstall but I might have mess it up! I have done the following commands:

Uninstall ftp

To remove just ftp package itself from Ubuntu 16.04 (Xenial Xerus) execute on terminal:

sudo apt-get remove ftp

sudo apt-get autoremove ftp

sudo apt-get purge ftp

sudo apt-get autoremove --purge ftp

I have tried to reinstall it but now when I try FTP localhost it says: Connection refused

I have reinstalled also vsftpd following the guidelines but nothing.

I am not a Linux user and now I'm totally lost.
 


itad@itad-virtual-machine:~$ netstat -tnlp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp6 0 0 ::1:631 :::* LISTEN
 
itad@itad-virtual-machine:~$ ftp ipltables status
ipltables: bad port name-- status
usage: ftp host-name [port]
ftp>
 

Members online

No members online now.

Latest posts

Top