I tried with several ways which is given like telnet to test whether my ftp server working properly or not:
rama@rama-desktop:~$ telnet 192.164.0.102 21 Trying 192.168.0.102... telnet: Unable to connect to remote host: Connection refused rama@rama-desktop:~$ telnet 127.0.0.1 21 telnet: Unable to connect to remote host: Connection refused
ftp [email protected] ftp: [email protected]: No address associated with hostname
In the above,
ramaftp
is the username that I have created earlier.
I am a novice in Ubuntu. Please help me to reset the ftp username and password for my machine.
I have tried:
sudo mkdir /srv/ftp
sudo usermod -d /srv/ftp ftp
sudo /etc/init.d/vsftpd restart
Modified conf file:
local_enable=YES write_enable=YES
restarted server with
service vsftpd restart
:stop: Unknown instance: start: Rejected send message, 1 matched rules; type="method_call", sender=":1.72" (uid=1000 pid=3629 comm="start vsftpd ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
This is the error that I got, Thanks
Connection refused
) or, less probably, if it is running it's not listening for connections on the right interfaces. Could you tell us something more about your setup? The FTP server software you are using and the way you have installed/configured it are two essential information.ftp(1)
program does not accept the user name as an argument; you have first to connect and then use theuser
command. Checkman ftp
for more information.