421 Service not available, remote server has closed connection, Unable to solve

my vsftdpd_v1 vsftpd_v1.conf command is executing properly, the 0.0.0.0:8081 address shows up in netstat, vsftpd_v1 shows up in ps -ef also. But whenever I try to connect to the ftp QBox server following things happen:

  1. It asks for name and I give crio-user(I think this is the correct username)
  2. then it says 331 Please specify the password and I provide the password
  3. it shows
    421 Service not available, remote server has closed connection
    Login Failed.
    No control connection for command: Success
    ftp>
    So I guess I have the following questions:
    for command "ftp " --> where can I find this hostname(port: 8081)
    what is the correct “Name” that we have to provide to login successfully.
    Thanks in advance. Stuck on this loop for a long time.

You will have to run the server and connect the ftp simultaneously. For the 8081 port, you need to change the port !

Yes I am connecting the ftp simultaneously, on a separate terminal than the server terminal. And could you elaborate on the point “need to change the port”? If you mean make listen_port=8081, it is already done. Do I need to share a screenshot?

Thank you for your help. The problem has been solved! :slight_smile:

@Archisman I’m facing the same issue, any hints on how I can solve it?

Yes, of course. First I had to change my run_as_launching_user to NO. It created several problems for other options. Then I had to make vsftpd executable and change ownership of conf file to root. Then started the vsftpd server using sudo and on then start the ftp connection with localhost.works just fine