November
16
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 http://0.0.0.0:5001
By running that command before you run your ASP.NET Core app, it will allow you to override the app's default URLs.