Dotnet watch run --> using hostname?

Hi everyone - quick question. I was wondering how to edit the dotnet watch run command to also bind to my hostname instead of just localhost.

I checked the github project and the readme doesn’t say much in that regard.

ie: http://mybox:5000/ & http://localhost:5000

.NET Core Apps binds to the hosts in the ASPNETCORE_URLS environment variable or whatever is configured using .UseUrls():

This can also be configured in your launchSettings.json:

Excellent will try it now, thank you. I assumed it was an easy one. I have just started trying out the clean Templates/Bootstrap demo… not yet familiar with the different profile loading tools, hadn’t seen the json file.

public static IWebHost BuildWebHost(string[] args) =>
    WebHost.CreateDefaultBuilder(args)
       .UseStartup<Startup>()
       .Build();
}