FTP Error 425 "Can’t open data connection": Time To Reset Your Router And Modem

So you’re running a copy of FileZilla server on your Windows IIS Web server, you try to connect via your copy of FileZilla client, and you receive the most dreaded of all FTP error messages**:

425 Can't open data connection.

You try searching for “FileZilla server 425” and are sent to a Wiki page about network configuration. It tells you the problem is that your FTP server is behind a smart-aleck router or firewall of some sort, and that’s causing connection problems.

But that can’t be true, because you’ve been able to connect to this server before and you’ve done nothing to the network configuration since. Besides, other people can connect to your server; it’s just you who cannot.

You’re trusting. You do as the instructions say, changing IP addresses, fiddling with your server’s “active” and “passive” modes, playing with the server’s Windows Firewall / router settings — but nothing works, you simply cannot connect.

So you turn from the server’s network to your network. You run all the FileZilla client tests, play with all the settings, but still your computer will not connect to the remote server. What’s especially irritating is that your FileZilla client will connect to any other FTP site, but not your remote FileZilla server.

The solution is simple: Power down your router and cable / DSL modem, wait about 30 seconds, then power them back up. You’ll be able to connect once you’ve reestablished your network.

Your Router Is At Fault

If you use a Linksys, Netgear, DLink or similar home router to connect many computers to your cable / DSL modem, that router is almost always to blame for connection problems with FileZilla server.

Actually, I suppose you could blame FileZilla server as easily and be equally as right about the cause. Because it’s the two completely different approaches taken by router manufacturers and the programmers behind FileZilla server that really makes for the problem.

In defense of Linksys, Netgear, DLink and the like: The average home user is not a computer network engineer. But the process of linking together many different devices, from computers to printers to hard drives to stereos to DVRs, into a common, seamless network, is very difficult.

Therefore, whatever equipment the router manufacturers make, it has to be able to create very complex networks with virtually no intervention from the person doing the install (the easiest way to make things “foolproof” is to remove the fool from the equation). So home routers are designed to make getting all your equipment on the Internet and talking to each other as easy as plugging in cables. The tricks those home routers use to accomplish that goal aren’t always appropriate for every application. Such as, say, FileZilla.

In defense of FileZilla: FileZilla server is written by people who care about standards and who are intimately familiar with the arcana of FTP, an Internet standard older than the Web itself. As a result, FileZilla server is exact in how it speaks to FTP clients — including its sister, FileZilla client — and in the nature of what it expects FTP clients to say back to it.

Most other FTP server software is pretty lenient about the way an FTP client talks to it, but not FileZilla server. It expects honesty from your FTP client and if it doesn’t get it, it won’t play ball.

When Heads Butt, Power Down

So you have the problem of a router that, as a rule, needs to lie and hide things from other hardware / software in order to work properly, trying to talk to software that demands nothing short of the complete truth. The result is what we would expect from any dysfunctional relationship between a pathological liar and a stone-cold bitch: heads are going to butt.

After a while, your router basically spins a web of deceit so complex and long, that even it can’t follow the story any more. That’s when FileZilla says it’s had enough and refuses to listen any more.

The only way to resolve the problem is to detox the router back into reality. And you do that by simply turning off the power, waiting about 30 seconds for all the electricity to drain from it, then powering it back on.

(Remember that in most cases, when a router is connected to a cable / DSL modem, you should first power down the cable modem, then the router; to reboot, you should power up the router first, then the cable / DSL modem. This allows your router to grant DHCP leases to all attached equipment and the modem to properly address your router.)

Technically, what powering down the router really does is clear its NAT and DHCP tables, basically giving the router a blank slate from which it can formulate new lies to tell FileZilla server. And interestingly enough, that’s good enough for FileZilla server.

All links in this article on delicious: http://delicious.com/dhvrm/ftp-error-425-cant-open-data-connection-time-to-reset-your-router-and-modem

I know I often say I don’t blog on Help Desk stuff, but this is so annoying and there’s so few places that tell you how to actually fix this problem, I decided to go ahead and put up this post.

**: Or maybe you’ve seen this:

(019697) 2/10/2009 10:05:37 AM - (not logged in) (101.92.82.255)> Connected, sending welcome message...
(019697) 2/10/2009 10:05:37 AM - (not logged in) (101.92.82.255)> 220-++++++++++++++++++++++++++++++++++++++++++++++
(019697) 2/10/2009 10:05:37 AM - (not logged in) (101.92.82.255)> 220-The FTP Server Welcomes You!
(019697) 2/10/2009 10:05:37 AM - (not logged in) (101.92.82.255)> 220-==============================================
(019697) 2/10/2009 10:05:37 AM - (not logged in) (101.92.82.255)> 220-Anonymous access prohibited
(019697) 2/10/2009 10:05:37 AM - (not logged in) (101.92.82.255)> 220-All activity logged
(019697) 2/10/2009 10:05:37 AM - (not logged in) (101.92.82.255)> 220 *********************************************************************
(019697) 2/10/2009 10:05:37 AM - (not logged in) (101.92.82.255)> USER banana
(019697) 2/10/2009 10:05:37 AM - (not logged in) (101.92.82.255)> 331 Password required for banana
(019697) 2/10/2009 10:05:37 AM - (not logged in) (101.92.82.255)> PASS ********
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)> 230 Logged on
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)> SYST
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)> 215 UNIX emulated by FileZilla
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)> FEAT
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)> 211-Features:
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)>  MDTM
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)>  REST STREAM
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)>  SIZE
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)>  MLST type*;size*;modify*;
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)>  MLSD
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)>  UTF8
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)>  CLNT
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)>  MFMT
(019697) 2/10/2009 10:05:37 AM - banana (101.92.82.255)> 211 End
(019697) 2/10/2009 10:05:39 AM - banana (101.92.82.255)> PWD
(019697) 2/10/2009 10:05:39 AM - banana (101.92.82.255)> 257 "/" is current directory.
(019697) 2/10/2009 10:05:39 AM - banana (101.92.82.255)> TYPE I
(019697) 2/10/2009 10:05:39 AM - banana (101.92.82.255)> 200 Type set to I
(019697) 2/10/2009 10:05:39 AM - banana (101.92.82.255)> PASV
(019697) 2/10/2009 10:05:39 AM - banana (101.92.82.255)> 227 Entering Passive Mode (123,456,789,1,10,203)
(019697) 2/10/2009 10:05:39 AM - banana (101.92.82.255)> LIST
(019697) 2/10/2009 10:05:50 AM - banana (101.92.82.255)> 425 Can't open data connection.
(019697) 2/10/2009 10:05:51 AM - banana (101.92.82.255)> disconnected.

11 thoughts on “FTP Error 425 "Can’t open data connection": Time To Reset Your Router And Modem

  1. Carl

    Thanks a lot for this info! Really annoying problem.
    And thanks for the amusing description. ;-)

    Regards
    Carl Gustafsson

  2. polishpaul

    There’s an old saying “if all else fails, reboot.” I hate when the reason for a faulty FTP connection is “a malicioius router or firewall” as many forum posters tend to say. The simple reboot fixed this issue after an IP change.

  3. Wall

    Did not work

    Switching to a different FTP server, however, did.
    The router turned out not to be the issue at all in the first place, it was Filezilla’s poorly written (or, as you very charitably put it, “strict implementation”)

    Even Filezilla server would not talk to the Filezilla client, but the Filezilla client would communicate with a different piece of FTP software.

    And this is why people don’t take open source software seriously.

  4. Doug Vanderweide

    @Wall: It’s unfortunate your problem was not related to your router. However, any problem you have with the 425 error message is directly related to an inability of Filezilla server to properly address the client, and that is always caused by a networking problem of some sort. It is possible one of the problems noted at other Web sites might have been the cause.

    I am glad you were able to find an alternative solution to your FTP needs. For most people, if Filezilla server proves problematic, an alternative free or pay solution is probably a good option, as Filezilla server provides no added security or features that are not available in a number of other server implementations.

    While your troubles with Filezilla server can reasonably make you question its value, even if it is free, I hardly think Filezilla’s cranky behavior on connectivity is a sweeping indictment of the open source movement. Just about everything powering this blog is open source, for example — from the server’s OS to the HTTP daemon to the blogging software to the Web browser being used to post this reply — and your comment got through just fine.

    I would agree with you, however, if you said that the problem with the open source movement is that too much attention is paid to making new things, rather than improving old things, documenting what has been made or supporting end users. Most open-source software projects, Filezilla server included, are in serious want of a halfway decent manual or someone to call in an emergency.

  5. GG

    Hello,

    i just made my furt FTP server, with filezilla, and i have the 425 error! we have an cisco 1811 router.. so, i have to turn down the power? and then the problem is solved?

    or what do i have to do, I don’s know that, much about FTP. this FTP goes by a DMZ.

    G,

  6. Del Boy

    Been using Filezilla client to maintain a remote website. Worked fine for a while then whenever I connect to any remote server – regardless of ftp server it screws up my router big style. All network traffic is stopped until the router is re-booted. Then when I try to ftp again ….. reset the router…. blah blah. The fact that it can do this is surely a bug. Never encountered this with FTP before.

    Now it’s impossible to use filezilla. Shame.

  7. LoWang

    2years have passed and Filezilla still suffers with this problem! I have ZyXel router and filezilla server on LAN which is port forwarded outside. I think I am not an IT noob, but still it fking does not work and I cannot connect to it from outside because of this error! But guess what works – if I uncheck SSL/TLS support (FTPS) in server and connect use plain ftp! Great, I can connect but with zero security. It does not matter how many ports I have forwarded. It ONLY works with plain ftp and active mode. And what’s even funnier? Passive mode works in Total Commander but does not in Filezilla client! LOL switching to another server :(

  8. Keeper of Ls

    the firewall for your host computer needs to have filezilla added to it and allowed for the inbound and outbound….after i added them by file….both EXE files in the x86 program files directory…it worked

Leave a Reply