ASP.NET MVC An existing connection was forcibly closed by the remote host

An existing connection was forcibly closed by the remote host 

或者提示如下图

 

 

 

 

 

引发此问题有可能是禁用了TLS1.2导致的. 

进入注册表, 找到TLS1.2在Client 目录下 把值改为1即可

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols

 

 

 


 

 

 

posted @ 2020-03-04 11:30  Jack He  阅读(687)  评论(0编辑  收藏  举报