I added the following section in project.json.
\"commands\": {
\"run\": \"run server.urls=http://localhost:8082\",
\"web\": \"Microsof
Go to your program.cs file add UseUrs method to set your url, make sure you don't use a reserved url or port
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup()
// params string[] urls
.UseUrls(urls: "http://localhost:10000")
.Build();
}