Using IIS Express to host a website (temporarily)

后端 未结 6 1355
萌比男神i
萌比男神i 2020-11-30 17:20

I have a website (MVC3), which for developement is hosted in IIS Express. (I\'ve run into a bug of Cassini Devserver and had to upgrade...) Now, I\'m wondering, is it possib

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-30 17:47

    By default IIS Express serves only localhost requests. To serve external requests edit applicationhost.config file (located in %userprofile%\documents\iisexpress\config\) and change localhost to '*' or your machine name. (remember for non-localhost binding you must be running as administrator or set URL acl as an administrator and then run iisexpress as non-administrator)

提交回复
热议问题