As aforementioned, Kestrel is by default used by the ASP.NET Core project templates, therefore it is automatically included and enabled in the PowerServer Web APIs, and there is no need to install or configure Kestrel.
In the launchSettings.json file of the ServerAPIs project of the PowerServer C# solution, the commandName key has the value Project which indicates that the Kestrel web server will be launched; and the applicationUrl key specifies the host name and port number for Kestrel.
For detailed description of the settings in launchSettings.json, see https://docs.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-3.1#development-and-launchsettingsjson.
"ServerAPIs": { "commandName": "Project", "launchBrowser": true, "launchUrl": "swagger", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, "applicationUrl": "http://0.0.0.0:6000/" }