title: ASP.NET Exception: The remote name could not be resolved: 'apiconnector.com'
body: <p>As the title suggests, I'm getting the following exception from an ASP.NET page</p>
  
  <blockquote>
    <p>The remote name could not be resolved: 'apiconnector.com'</p>
  </blockquote>
  
  <p>I can however navigate to this address from a browser, so I know it's accessible.</p>
  
  <p>Why can't ASP.NET navigate to this address?</p>
  
  <p><strong>EDIT: How am I "navigating" exactly?</strong></p>
  
  <p>Ok so basically I've imported a <a href="http://apiconnector.com/API.asmx?WSDL" rel="noreferrer">WSDL</a> as a service reference. All I am doing is calling the methods from the service reference. It's the service reference that does the actual navigation.</p>
  
  <p>Service reference configuration contains the following XML</p>
  
  <pre><code>  &lt;endpoints&gt;
      &lt;endpoint ... address="http://apiconnector.com/API.asmx" ... /&gt;
    &lt;/endpoints&gt;
  </code></pre>