When localhost refused to connect error in visual studio ?

I had a similar issue. Try this and it should work
  1. Go to your project folder and open .vs folder (keep your check hidden item-box checked as this folder may be hidden sometimes)
  2. in .vs folder - open config
  3. see that applicationhost config file there? Delete that thing.(Do not worry it will regenerate automatically once you recompile the project.)

Post a Comment