1
我在visual studio 2015中有两个解决方案:CDN和网站。无法启动IIS Express Web服务器端口80正在使用
CDN applicartionhost.config在C:\xxxx\CCC\CCC\Dev\CCC\.vs\config
站点配置:
<site name="CCC.Web" id="1" serverAutoStart="true">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\XXXX\CCC\CCC\Dev\CCC\CCC.Web" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:80:www.trueq.com.co" />
</bindings>
</site>
网站applicartionhost.config在C:\xxxx\YYY\YYY\Dev\YYY\.vs\config
站点配置:
<site name="YYY" id="1" serverAutoStart="true">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\XXXX\YYY\YYY\Dev\YYY\YYY" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:80:tq.pastatic.com" />
</bindings>
</site>
当我运行一个解决方案时运行良好,但是当我尝试运行另一个时,它显示一个错误:无法启动iis express Web服务器端口80正在使用中。
我不知道该怎么做。
我试过卸载并重新安装IIS 10,同时删除applicartionhost.config,更改端口,没有任何工作。
你是否已经检查过,如果任何其他进程已采取该端口? netstat -n -b或许 – elvin
只是一个蓝色的镜头:Skype是否在这台机器上运行?有时Skype会阻止我认为的80端口。 –
是的,已经检查过Skype端口。 –