Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 在visual studio中更改IIS端口_Asp.net_Asp.net Mvc 3_Iis_Visual Studio 2012_Https - Fatal编程技术网

Asp.net 在visual studio中更改IIS端口

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

我想将IIS端口从443更改为1443,我在applicationhost.confing的这一行中设置了它:

<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