Search code examples
http-redirectasp.net-core-mvc.net-6.0visual-studio-2022c#-10.0

Failed to determine the https port for redirect


I am new to ASP.NET and programming too. I am using Visual Studio 2022 v17.5 and ASP.NET Core 6 for building a web application.

I am in the development environment. Initially all was going well but suddenly it starting misbehaving by showing

Warning: Failed to determine the https port for redirect

The web page loads but doesn't respond to any click and browser reload animation also keeps on revolving.

enter image description here

I searched the internet but failed to find any fix. Please guide to fix this error and thanks in advance for any solution.


Solution

  • I had the same issue. Solved by deleting all .vs folder