warning usekestrel() port issue

2 days ago 4
ARTICLE AD BOX
Building... ✔ HTTPS configured on port 7260 using localhost certificate. warn: Microsoft.AspNetCore.Server.Kestrel[0] Overriding address(es) 'http://localhost:7001'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead. info: Microsoft.Hosting.Lifetime[14] Now listening on: http://[::]:5162 info: Microsoft.Hosting.Lifetime[14] Now listening on: https://[::]:7260 info: Microsoft.Hosting.Lifetime[0] Application started. Press Ctrl+C to shut down. info: Microsoft.Hosting.Lifetime[0] Hosting environment: Development info: Microsoft.Hosting.Lifetime[0]

i dont want the over riding to other ports

my API should be running on port 5162
and it is running on port 5162

my MVC should be running on port 7001
but it is getting ignored by warning UseKestrel() to port 7260 on which website is not working

Read Entire Article