How to solve “Microsoft Visual Studio (VS)” error “Unable to connect to the configured development Web server”
SOLUTION
This means that you are missing the right for using it. Create it with Netsh Commands for Hypertext Transfer Protocol > add urlacl.
1) Open "Command Line Interface (CLI)" called "Command shell" with Win+R write "cmd"
2) Open CLI windows like administrator with mouse context menu on opened windows or icon "Run as administrator"
3) Insert command to register url
netsh http add urlacl url=http://{ip_addr}:{port}/ user=everyone
NOTE:
- For remove you can use:
netsh http delete urlacl url=http://{ip_addr}:{port}/
- If not work restart Microsoft Windows (WIN) and then open project and build again.
- Sometimes these symptoms may be the same like "Unable to launch the IIS Express Web server”.
I fixed the problem with deleting .vs folder on project folder.
- Close VS projects.
- Delete .vs folder on project folder that includes applicationhost.config file.
VS will generate new config for this project.
Opening Visual Studio as administrator will fix the problem.