getaddrinfo(3) failed
Posted
by
user101289
on Server Fault
See other posts from Server Fault
or by user101289
Published on 2012-05-31T21:24:11Z
Indexed on
2012/05/31
22:42 UTC
Read the original article
Hit count: 242
I'm trying to connect to a webservice using a PHP wrapper (which is using curl under the covers).
On my local linux machine running PHP 5.3 it works perfectly. However, when I move to a remote server (also running PHP 5.3 on Linux) the call the the webservice URL returns:
getaddrinfo(3) failed for http://server.host.com:8080/login
I get a similar error from a ping on the remote host:
ping: unknown host http://server.host.com:8080/login
But when I issue a curl request from the command line, it returns the expected URL.
Can anyone shed any light on this issue?
Thanks!
© Server Fault or respective owner