How to solve “Microsoft Visual Studio (VS)” error “Unable to connect to the configured development Web server”

 Admin   
2121 View    Jan 11 2020 4:10PM

Unable to connect to the configured development Web server.

Failed to register URL "http://{ip_addr}:{port}/" for site "{project_name}" application "/". Error description: Access is denied. (0x80070005)

 

 

 

---------------------------

Microsoft Visual Studio

---------------------------

Unable to connect to the configured development Web server.

Output from IIS Express:

Failed to register URL "http://xxx:xxx/" for site "xxxxxx" application "/". Error description: The process cannot access the file because it is being used by another process. (0x80070020)

---------------------------

OK  

---------------------------

 

 

1)      Open cmd with Run as Administrators

2)      Use this command netsh http add urlacl url=http://{ip_addr}:{port}/ user=everyone

3)      If already add then netsh http delete urlacl url=http://{ip_addr}:{port}/  

Thank you for visit our website