phing FtpDeploy "connection to host failed"

Posted by Jorre on Stack Overflow See other posts from Stack Overflow or by Jorre
Published on 2010-05-31T08:26:44Z Indexed on 2010/05/31 8:32 UTC
Read the original article Hit count: 327

Filed under:
|

I'm getting the following error when trying to deploy a ZIP file to a remote FTP server. I tried connecting to the server using an FTP client (filezilla) and all goes well.

Also, when connecting to a public ftp like ftp.belnet.be connections work fine. I'm trying to send the file to a VSFTPD server behind a router using port forwarding. Again, this works fine from any location using Filezilla, phing is not connecting though...

BUILD FAILED /deployment/build.xml:60:12: Could not connect to FTP server x.x.x.x on port 21: Connection to host failed

Total time: 2 minutes 30.09 seconds

© Stack Overflow or respective owner

Related posts about deployment

Related posts about phing