Stumped by WCF services RRS feed

  • Question

  • Hello,

    I have two WCF services on the same server.  One is on port 8601 and the other on port 8703. 

    I am trying to get to a different server at 8705.

    I have the exact same code snippet in both services at 8601 and 8703.  The code snippet at 8601 successfully makes it to the other server.

    But, the code snippet when run on port 8703 fails with a "There was no endpoint listening...".  This was working Friday but now has quit - something has changed but I don't know what.

    I have verified that the code snippets are exactly the same.  And, I have turned off the firewalls.

    Does anyone have any ideas of where I should look?

    Update: Now I can't connect from either service (8601 or 8703).

    I did a netstat -a and found the following:

    TCP   [::]:8705     VDMZDEVWEBSVC01:0      LISTENING

    Could that be my issue?

    Thank you very much!!

    • Edited by Hiline1961 Monday, June 30, 2014 10:49 PM
    Monday, June 30, 2014 10:22 PM


  • Hi,

    If you can control the service side, then please try to enable the WCF tracing to find some detailed error information.

    The following configuration taken from MSDN can be applied to enable tracing on your WCF service.

          <source name="System.ServiceModel"
                  switchValue="Information, ActivityTracing"
                  propagateActivity="true" >
                 <add name="xml"/>
          <source name="System.ServiceModel.MessageLogging">
                <add name="xml"/>
          <source name="myUserTraceSource"
                  switchValue="Information, ActivityTracing">
                <add name="xml"/>
            <add name="xml"
                 initializeData="Error.svclog" />

    For the port 8705, it seems that it is used by some other process. A port can be used for only one process at same time.

    Best Regards,
    Amy Peng

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, July 1, 2014 2:52 AM