1、关闭win7 防火墙
2、修改如下如下文件。
C:\后台API接口\Test1\.vs\config\applicationhost
<site name="Test1" id="2">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\后台API接口\Test1\Test1" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:54321:localhost" />
<binding protocol="http" bindingInformation="192.168.0.105:54321:*" /> //这句代码加上
</bindings>
</site>