I've been stumped by this problem for weeks now. When I connect to our
FTP server from most boxes, we're able to connect but not able to open
any data connections...
230 User XXX logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
200 PORT command successful.
425 Can't build data connection: Connection refused.
If I connect from a machine with the same domain as the target FTP
host, it works fine. One of our machines is on a completely different
network than this box, and it connects fine. other machines on
remote networks get the error above.
I assumed this was a problem in /etc/hosts.allow, but I think my
configuration is correct...
ftpd : localhost : allow
ftpd : ALL : allow
Since I can FTP from machines on either side of the firewall, I'm
assuming this isn't an issue (the firewall seems to be unaware of
which domain it is part of).
This is under FreeBSD 4.3 RELEASE.