title: "There was no endpoint listening at..."
body: <p>I'm trying to run a simple WCF Service...</p>
  
  <p>My Wcf Service .config:</p>
  
  <pre><code>&lt;system.serviceModel&gt;
  &lt;services&gt;
    &lt;service name ="WebService.Receptor"&gt;
      &lt;endpoint
        address = "http://MyServer:8000/WS"
        binding = "wsHttpBinding"
        contract = "IMyContract"
      /&gt;
    &lt;/service&gt;
  &lt;/services&gt;
  &lt;behaviors&gt;
    &lt;serviceBehaviors&gt;
      &lt;behavior&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt;
  </code></pre>
  
  <p>
    
      
    </p>
  
  <p>My Windows Service .config:</p>
  
  <pre><code>&lt;system.serviceModel&gt;
  &lt;client&gt;
    &lt;endpoint 
      name = "Receptor"
      address = "http://MyServer:8000/WS"
      binding = "wsHttpBinding"
      contract = "IMyContract"
      /&gt;
  &lt;/client&gt;
  &lt;/system.serviceModel&gt;
  </code></pre>
  
  <p>Obs: The Wcf Service is running under IIS 7.5 on Windows 7.</p>
  
  <p>So, when i try to call a method from the wcf proxy (IMyContract) i got this error:</p>
  
  <blockquote>
    <p>There was no endpoint listening at <a href="http://MyServer:8000/WS" rel="noreferrer">http://MyServer:8000/WS</a> that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.</p>
  </blockquote>
  
  <p>The inner exception: </p>
  
  <blockquote>
    <p>{"Unable to connect to the remote server"}</p>
  </blockquote>
  
  <p>Anyone knows why?</p>