Search code examples
phpftp

Why would ftp_ssl_connect work on one host but not another?


Using $ftp = ftp_ssl_connect('myhost.com', 2222, 180); works like a charm on my localhost and on my test server, but when I try to do it on the live server, it returns false. What could be the root cause?


Solution

  • Issue was the firewall, as Martin said.