一、VS 用IP调试,而不是localhost来调试
VS配置:
C:\Program Files\IIS Express\AppServer\applicationhost.config
<binding protocol="http" bindingInformation=":8080:10.227.67.100" />
工程设置:
二、如果在IIS工程目录下,直接调试代码。
1、IIS设置的文件目录和VS工程目录一致
2、VS工程设置成IIS的绑定地址
一、VS 用IP调试,而不是localhost来调试
VS配置:
C:\Program Files\IIS Express\AppServer\applicationhost.config
<binding protocol="http" bindingInformation=":8080:10.227.67.100" />
工程设置:
二、如果在IIS工程目录下,直接调试代码。
1、IIS设置的文件目录和VS工程目录一致
2、VS工程设置成IIS的绑定地址