2
林autodeploying一个老网站,有这样的结合:如何解释BindingInformation使用PowerShell配置
net.tcp 808:*
但是当我使用WebAdministration设置这样的:
New-WebBinding -Name "site" -Procotol "net.tcp" -Port 808
我得到这个绑定:
net.tcp *:808:
他们是否一样?
没关系,我可以使用:新-ItemProperty -Path “IIS:\网站\网站名称” - 名称绑定 - 值@ {协议= “的net.tcp”; bindingInformation =“808:*”}实现相同。 Thx to:http://stackoverflow.com/questions/9424362/why-powershells-new-webbinding-commandlet-creates-incorrect-hostheader –