title: ASP.NET Core Kestrel dynamic port
body: <p>Can we assign dynamic port to Kestrel instead of this in project.json?</p>
  
  <p>"web": "Microsoft.AspNet.Server.Kestrel server.urls=<a href="http://localhost:5001" rel="nofollow">http://localhost:5001</a>"</p>
  
  <p>I'm planning to use docker to deploy the code, and for that I would like it to take the port assigned either via a "0" value specified like this <a href="http://0.0.0.0:0" rel="nofollow">http://0.0.0.0:0</a> or some other way. I can then detect the port from docker and then use the load balancer to point to it.</p>
  
  <p>Please let me know.</p>