External Network Access to Kestrel in ASP.NET Core

Yesterday I gave a talk at a local user group and I ran into some networking issues with my demo. After some searching for a bit, I found the solution in this blog post: External Network Access to Kestrel and IIS Express in ASP.NET Core.

The missing command that I could not find yesterday is as follows:
dotnet run --urls

By running that command before you run your ASP.NET Core app, it will allow you to override the app’s default URLs.

Leave a Reply

Your email address will not be published. Required fields are marked *