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

猜你喜欢

转载自www.cnblogs.com/hesijian/p/12408471.html