Unable to start program 'http://localhost/Default.aspx'. VS2010

前端 未结 15 2035
猫巷女王i
猫巷女王i 2021-02-08 17:05

I cannot start my website from Visual Studio 2010 anymore.

For a few days I cannot start my project in a web browser using F5. When I open my web application directly by

15条回答
  •  鱼传尺愫
    2021-02-08 17:36

    the solutions for me is to test with 127.0.0.1 in place of localhost. and all goes well for.

    so the problem come from the host resolution name, to solve it please proceed like :

    • open cmd and then tape : %systemroot%\System32\drivers\etc\
    • open hosts file with notepad and the look for localhost ligne(you'll find 0.0.0.0 befor it )
    • change the 0.0.0.0 with 127.0.0.1 at all lignes with localhost .

提交回复
热议问题