#IIS #VS How to solve ERR_CONNECTION_REFUSED when trying to connect to localhost running IISExpress - Error 502 (Cannot debug from Visual Studio)?
Try this and it should work
- Go to your project folder and open .vs folder (keep your check hidden item-box checked as this folder may be hidden sometimes)
- in .vs folder - open config
- see that applicationhost config file there? Delete that thing.(Do not worry it will regenerate automatically once you recompile the project.)
Ref : https://stackoverflow.com/questions/37352603/localhost-refused-to-connect-error-in-visual-studio
Comments
Post a Comment