Home
Find the answer to your question
I am trying to make an API request via a proxy server, but I am getting the following error:
"The underlying connection was closed: The remote name could not be resolved"
How can I fix this?
Summary
If you have a proxy server, you need to set the proxy configuration to make your API requests.
For .NET clients, please see the following Microsoft Article for information on how to resolve the issue:
PRB: Error on .NET client that consumes a Web service through an HTTP proxy server
For Java clients, please set the Java environment variables, "https.proxyHost" and "https.proxyPort" to allow HTTPS connections to work properly through your proxy server: Java Networking and Proxies.