Why do we get the error "425 Failed to establish connection" after logging into vsftpd server?

Solution Verified - Updated -

Issue

After logging into the vsftpd server, we get an error 425 Failed to establish connection when running ls or dir or put.

# ftp 192.168.0.1
Connected to 192.168.0.1.
220 (vsFTPd 2.0.1)
Name (192.168.0.1:(none)) dcc
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful. Consider using PASV.
425 Failed to establish connection.

Environment

Red Hat Enterprise Linux (all versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content