amazon web services - PHP ftp_connect() returns false -


$ftp_host =  "letsassist.biz"; $ftp_user_name = 'username';  $ftp_user_pass = 'mypassword'; $port = 21; $connect_it = ftp_connect( $ftp_host,$port ); if($connect_it){    echo "connect"; }else{        echo "not connect"; } 

when try run code in localhost echo "connect", when try run remote server (aws ec2) echo "not connect".

any solution please.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -