title: Asp.Net Core Web API app: how to change listening address?
body: <p>I write simple Asp.Net Core WebAPI 2.0 application, it works on my local machine.
  But i want to deploy it to server.
  So, i do it.</p>
  
  <p>My system:</p>
  
  <pre><code>Ubuntu 16.04.
  Asp.Net WebAPI 2.0 (and dotnet version 2.1.105)
  </code></pre>
  
  <p>But, when app starts it writes: </p>
  
  <pre><code>Now listening on:http://localhost:53115
  </code></pre>
  
  <p>When i try to get values from it:</p>
  
  <pre><code>  http://id_address:53115/api/values
  </code></pre>
  
  <p>And i can not get response.
  In Postman:</p>
  
  <pre><code> Could not get any response
   There was an error connecting to 
   http://id_address:53115/api/values.
   Why this might have happened:
   The server couldn't send a response:
   Ensure that the backend is working properly
   Self-signed SSL certificates are being blocked:
   Fix this by turning off 'SSL certificate verification' in Settings &gt; General
   Proxy configured incorrectly
   Ensure that proxy is configured correctly in Settings &gt; Proxy
   Request timeout:
   Change request timeout in Settings &gt; General
  </code></pre>
  
  <p>What i should do? Can you tell me how to fix that? </p>
  
  <p>I do not know where to start looking for.</p>
  
  <p>Thank you!</p>