When using cURL from my ubuntu machine to merely GET from a remote machine, I seem unable to resolve the hostname and just get a Proxy Issue -
The proxy has encountered an error (Error 21: Server Hostname Not Found) when running:
However, I am able to ping both
remotehostname and it's ip address, and using
curl on just the ip address works fine, e.g.
I even tried a java program that uses the
ApacheHttpClient implementation of the Jersey
Client, and that worked fine too.
Is there a particular reason why cURL is unable to interpret
remotehostname when everything else seems able to? I imagine it is a proxy related issue but as far as I can tell my proxy is set up fine seeing as everything else seems to work, just not cURL.