Warning: file_put_contents(/datas/wwwroot/jiajiahui/core/caches/caches_template/2/default/show.php): failed to open stream: Permission denied in /datas/wwwroot/jiajiahui/core/libraries/classes/template_cache.class.php on line 55

Warning: chmod(): Operation not permitted in /datas/wwwroot/jiajiahui/core/libraries/classes/template_cache.class.php on line 56
启用HTTPS协议在.NET MVC 5申请本地主机 - 源码之家

启用HTTPS协议在.NET MVC 5申请本地主机

启用HTTPS协议在.NET MVC 5申请本地主机

问题描述:

我试图启用HTTPS协议型我的申请,我要建在具有这样的端口号的本地主机:启用HTTPS协议在.NET MVC 5申请本地主机

https://localhost:19590/ 

enter image description here

我已经去了IIS是xx表示版本并启用HTTPS绑定,并通过HTTPS已经能够访问本地主机(没有任何端口号)是这样的:

https://localhost/ 

但现在我需要启用HTTPS的项目解决方案我的工作目前在端口19590,当我尝试访问它,它说的是:

This site can’t provide a secure connection 

我在做什么错在这里,我怎么能在这个端口号上为localhost项目启用HTTPS?

+0

任何人创建虚拟目录? =) – User987

+0

我看到有人回复,但在我读完之前删除了回复? – User987

在你的项目属性,在服务器下的网络部分可以尝试选择本地IIS,而不是IIS快递和https://localhost/

+0

或者你的问题可能是这样的副本:https://*.com/questions/21202885/how-can-i-change-iis-express-port-for-a-site –