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

前端 未结 18 1710
被撕碎了的回忆
被撕碎了的回忆 2020-12-04 14:31

PROBLEM

If you start using \"Microsoft Internet Information Services Express (IIS)\" from \"Microsoft Visual Studio (VS)\" you may get when you run

18条回答
  •  半阙折子戏
    2020-12-04 15:02

    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”.

提交回复
热议问题