Connecting to Visual Studio debugging IIS Express server over the lan

前端 未结 10 982
慢半拍i
慢半拍i 2020-11-27 10:19

I have a test ASP.NET MVC3 application developed in VS2012. When I start debugging the app is accessed from the host machine via the request to http://localhost:

10条回答
  •  囚心锁ツ
    2020-11-27 11:14

    Since I am unable to add a comment to @Garret Fogerlie's post and in response to the commenters' issue (@Y.Ecarri and @SamuelEdwinWard), I followed what Garret suggested, using Visual Studio 2013, running it in Admin mode and changing the application.config file.

    After launching debug and seeing that I got the same error message, I went back into application.config and saw that a new entry for my site had been created just like Y.Ecarri's issue.

    So I stopped debugging, kept my solution open in Visual Studio, and edited the application.config file again for the new entry. I also simply removed the * sings and localhost entirely, so I had the following for the new entry:

提交回复
热议问题