title: Unable To Bind To Other Port with UseUrls
body: <p>The following code just won't change the port to 9874. It stays the same in Project -> Debug -> Web Server Settings -> App URL -> "<a href="http://localhost:56021/" rel="nofollow noreferrer">http://localhost:56021/</a>", which uses the 56021 port. I am using VS 2017 to create .net core webapi project.</p>
  
  <pre><code>public static IWebHost BuildWebHost(string[] args) =&gt;
      WebHost.CreateDefaultBuilder(args)
          .UseStartup&lt;Startup&gt;()
          .UseUrls("http://localhost:9874")
          .Build();
  </code></pre>
  
  <p>It is the same even i change to Release mode.</p>