Asp.net 在visual studio中更改IIS端口
我想将IIS端口从443更改为1443,我在applicationhost.confing的这一行中设置了它:Asp.net 在visual studio中更改IIS端口,asp.net,asp.net-mvc-3,iis,visual-studio-2012,https,Asp.net,Asp.net Mvc 3,Iis,Visual Studio 2012,Https,我想将IIS端口从443更改为1443,我在applicationhost.confing的这一行中设置了它: <bindings> <binding protocol="http" bindingInformation="*:5940:localhost" /> <binding protocol="https" bindingInformation="*:144300:localhost" /> </bindings> 但在v
<bindings>
<binding protocol="http" bindingInformation="*:5940:localhost" />
<binding protocol="https" bindingInformation="*:144300:localhost" />
</bindings>
但在visual studio中运行项目时出现以下错误:
the local IIS server URL is not a valid URL that includes the protocol (http:// or
https://). Invalid URI: invalid port specified
端口只能连接到65535。降低您的端口,它应该可以正常工作。不存在将我的端口更改为1443的方法吗?如果您想更改为端口1443,请更改
和此https://localhost:1443/
。看一看也会有帮助。
the local IIS server URL is not a valid URL that includes the protocol (http:// or
https://). Invalid URI: invalid port specified