[英]Soap Service Works in VS but not IIS
我有WCF應用程序中使用的第三方SOAP Web服務
在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應用程序中使用相同的肥皂服務,但出現相同的錯誤。
該問題與內部代理問題有關
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.