prevent ASP.NET core service from using the same port number as my app code example
Example: .net core change localhost port
{
"iisSettings": {
"iisExpress": {
"applicationUrl": "http://localhost:12345",
"sslPort": 98765 <== Change_This
}
},