Visual Studio works, but localhost cannot connect

I have vs 2015 and the asp.net mvc 5 website. It worked fine until it came back, but today I noticed that it stops working. When I start debugging, the visual studio is working fine, as well as IIS Express, but the local page cannot be found.

This is what my IIS Express is.

IIS Express

And visual studio

Visual studio 2015

And browser

localhost

I can’t understand what’s wrong. Things I tried that didn't help:

1) Reinstall (clear) IIS Express 10
2) Deleted the folder C:\Users\Razor\Documents\IISExpressso that when the visual studio restarts, it creates the folder again.
3) Deleted the folder with the Solution folder .vs(containing applicationhost.config), and it was recreated again.

. - , ?

+4

Source: https://habr.com/ru/post/1669485/


All Articles