Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/339.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 端口8083:调用服务失败。可能原因:服务脱机或无法访问_C#_Wcf_Windows Services - Fatal编程技术网

C# 端口8083:调用服务失败。可能原因:服务脱机或无法访问

C# 端口8083:调用服务失败。可能原因:服务脱机或无法访问,c#,wcf,windows-services,C#,Wcf,Windows Services,我有一个wcf服务,它托管在windows服务中,当在8083端口运行时,来自客户端的服务方法调用抛出以下错误。但是,如果服务是在另一个端口号启动的,则从客户端调用操作契约时不会出现错误。如何解决端口8083的错误 位于的HTTP服务不可用。这可能是因为服务太忙,或者找不到在指定地址侦听的终结点。请确保地址正确,稍后再次尝试访问该服务 服务器堆栈跟踪: 位于System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWe

我有一个wcf服务,它托管在windows服务中,当在8083端口运行时,来自客户端的服务方法调用抛出以下错误。但是,如果服务是在另一个端口号启动的,则从客户端调用操作契约时不会出现错误。如何解决端口8083的错误

位于的HTTP服务不可用。这可能是因为服务太忙,或者找不到在指定地址侦听的终结点。请确保地址正确,稍后再次尝试访问该服务

服务器堆栈跟踪: 位于System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebExceptionWebException webException、HttpWebRequest请求、HttpBorTreason abortReason 在System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReplyTimeSpan超时 在System.ServiceModel.Channel.RequestChannel.RequestMessage消息中,TimeSpan超时 在System.ServiceModel.Dispatcher.RequestChannelBinder.RequestMessage消息中,TimeSpan超时 在System.ServiceModel.Channels.ServiceChannel.CallString操作中,布尔单向,ProxyOperationRuntime操作,对象[]输入,对象[]输出,时间跨度超时 在System.ServiceModel.Channels.ServiceChannelProxy.InvokeServiceMethodCallMessage methodCall中,ProxyOperationRuntime操作 在System.ServiceModel.Channels.ServiceChannelProxy.InvokeMessage消息中

在[0]处重试异常: 在System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessageIMessage reqMsg、IMessage retMsg 在System.Runtime.Remoting.proxy.RealProxy.PrivateInvokeMessageData和msgData中,Int32类型 在IIINTEROPINTEGRATION WCFSERVICE.TestServiceClientIdentity OBJClientId实体 在InteropInIntegrationWCFServiceClient.TestServiceClientIdentity OBJClientId实体

内部异常: 远程服务器返回错误:503服务器不可用。 位于System.Net.HttpWebRequest.GetResponse
在System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReplyTimeSpan超时时,对于这种情况,服务端点WCF必须始终提供ABC地址、绑定和协定。您只在配置中定义绑定和契约。我注意到EndpointAddress属性中没有任何内容

有关更多信息,请参阅以下链接:

答复