asp.net core ignores applicationurl port 5000 defaults to code example
Example 1: .net core change localhost port
{
"iisSettings": {
"iisExpress": {
"applicationUrl": "http://localhost:12345",
"sslPort": 98765 <== Change_This
}
},
Example 2: how to set the server url in dotnet core
> dotnet run --server.urls "http://localhost:5100;http://localhost:5101;http://*:5102"