You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"EventId":14,"LogLevel":"Information","Category":"Microsoft.Hosting.Lifetime","Message":"Now listening on: http://[::]:80","State":{"Message":"Now listening on: http://[::]:80","address":"http://[::]:80","{OriginalFormat}":"Now listening on: {address}"}}
As a workaround, I found that the app.Run(urls) method do work however:
Describe the bug
WebApplicationBuilder.WebHost.UseUrls()
won't let me override the default port.To Reproduce
Setup a standard "Minimal APIs" Program.cs configuration, and try to set the host urls using the
WebApplicationBuilder.WebHost.UseUrls(..)
API.Output:
As a workaround, I found that the
app.Run(urls)
method do work however:Repro repo: davidfowl/TodoApp#4
Further technical details
The text was updated successfully, but these errors were encountered: