FTP error "425 Use PORT or PASV first." (4283 Views)
Reply
Occasional Contributor
Mohd. Abdul Hannan Chow
Posts: 5
Registered: ‎07-24-2007
Message 1 of 6 (4,283 Views)

FTP error "425 Use PORT or PASV first."

I am using RHEL4. I have installed vsftpd-server....... in my server and configured the vsftpd.conf and have run the ftp service successfully. The machine is using a real IP.
I have connected and loggend in to the ftp server successfully. but when I am trying to use "put " command from my local private network (an WindowsXP PC), the following error message "425 Use PORT or PASV first." were displayed. But FTP to another Server with real IP from the same PC works properly.

But when trying to transfer files from another client machine that is configured with real IP (windows XP) to both the server using FTP and same user, it works correctly.

Please help me to solve the problem.

M A Hannan Chowdhury
Dhaka, Bangladesh
Honored Contributor
Ivan Ferreira
Posts: 6,957
Registered: ‎05-07-2004
Message 2 of 6 (4,283 Views)

Re: FTP error "425 Use PORT or PASV first."

Have you tried stopping the firewall service?

service iptables stop

If that works, then check your firewall configuration.

Also check if SELinux is not doing something, do:

setenforce 0

And try again.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 3 of 6 (4,283 Views)

Re: FTP error "425 Use PORT or PASV first."

Shalom,

Your firewall may have been configured to limit simultaneous sessions.

I think service iptables stop is a good way to run tests.

vsftpd has a standard message advising you to use PASV, instead of other methodologies. This is not an error message, it is advice.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Occasional Contributor
Mohd. Abdul Hannan Chow
Posts: 5
Registered: ‎07-24-2007
Message 4 of 6 (4,283 Views)

Re: FTP error "425 Use PORT or PASV first."

The command-
service iptables stop
cannot solv my problem. I am still having problems with the FTP error "425 Use PORT or PASV first."
It may not be the problem related to firewall settings for more than one simulteneous user login. Because, when first user failed the second person tried to do the same thing from another computer and he was successful. First user is still having the same problem while the command above was entered.

Please Help me to solve the problem.
Honored Contributor
Rob Leadbeater
Posts: 3,582
Registered: ‎08-14-2002
Message 5 of 6 (4,283 Views)

Re: FTP error "425 Use PORT or PASV first."

Maybe there's another firewall in between the user(s) and the FTP server...

Some FTP clients (Windows XP command line for one) are also not particularly good at negotiating between active and passive FTP servers.

Cheers,

Rob
Occasional Contributor
Mohd. Abdul Hannan Chow
Posts: 5
Registered: ‎07-24-2007
Message 6 of 6 (4,283 Views)

Re: FTP error "425 Use PORT or PASV first."

I checked the client firewall and the FTP is in exception list that is my WinXP firewall is not blocking the FTP connection.
In another way I can say the same thing that, I can transfer file using FTP to the second server but failed for the first server (the troubled server). But from another machine file transfer to first and second server is OK using same account.
I cannot solv the problem till now.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.