From what I understand the correct way of setting listen ports for ASP Dotnet Core 2 preview 1/2 is by creating a Kestrel section in the appsettings.json in the following fo
I know that this is an old post but to run visual studio with kestrel.
just edit the appsettings.json and add the config like this (tested with NetCore 2.0 and 2.1)
"profiles" : { "Kestrel": { "commandName": "Project", "launchBrowser": true, "applicationUrl": "http://localhost:6969/" } }