我有一个第三方SOAP Web服务,我已将其用于WCF应用程序
在Visual Studio中运行并使用WCF调试器时,该服务正常工作,但在完整IIS中运行时,它会出现以下错误
System.ServiceModel.EndpointNotFoundException
There was no endpoint listening at https:// ***.custhelp.com/cgi-
bin/ ***.cfg/services/soap This is often caused by an incorrect address or
SOAP action. See InnerException, if present, for more details. --->
System.Net.WebException: Unable to connect to the remote server --->
System.Net.Sockets.SocketException: An attempt was made to access
a socket in a way forbidden by its access permissions 74.117.207.64:443
我知道服务会阻止TLS 1.0,所以我已经放入了 ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11(和...... | Tls12)
我已确认它们都在64位模式下运行 Environment.Is64BitProcess = true
我也尝试在WebApi应用程序中使用相同的soap服务,我也得到了同样的错误。
答案 0 :(得分:0)
问题与内部代理问题有关