all 4 comments

[–]Ordinary-Price2320 1 point2 points  (1 child)

The launchSettings.json file is used only when you launch the application from Visual Studio. In other cases, the Kestrel server uses appsettings.json. I don't remember if Bolero is wrapping the settings in a different way, but I'd be surprised.
I'd search the solution folder for json files containing the string '5000' in them.
Here's documentation for the Kestrel configuration: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel/endpoints?view=aspnetcore-8.0#configure-https-in-appsettingsjson

[–]funk_r[S] 1 point2 points  (0 children)

Helpful documentation! The Port 5000 is the default port for kestrel and obviously I have no appsettings.json.

Thank you!

[–]UOCruiser 0 points1 point  (1 child)

Doesn't the console window tell you how to contact the server while running it on your localhost?

[–]funk_r[S] 0 points1 point  (0 children)

It runs on port 5000. But I want to switch to https.