php cli windows ftp_connect fails getaddrinfo failed: no such host is known -
i have windows 7 machine use php 5.4 cli
when try use ftp_connect:
$conn_id = ftp_connect("10.192.35.100");
the following error raise , connection fails:
getaddrinfo failed: no such host known
when try use ftp
cmd
can reach ftp server (which in inner network)
it seems dns problem don't use domain name ip address. tried using machine external ip address got same problem.
any idea wierd problem?
Comments
Post a Comment