there was no endpoint listening at http //localhost that could accept the message. RRS feed

  • Question

  • I run the server for years, it runs well. Recently, I run the application without any revise. But I got this error

    There was no endpoint listening at http://localhost:25021/Service that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

    the inner exception is 

    Unable to connect to the remote server

    Any idea how to fix this problem?


    • Edited by mozart0000 Thursday, October 11, 2018 5:25 PM
    Thursday, October 11, 2018 5:24 PM

All replies

  • Maybe the service is not running, the service is listening on another port, another program is running  now and  using the port and maybe there is a firewall blocking the port. They are possible reasons as to why.
    Thursday, October 11, 2018 7:17 PM
  • Hi Mozart0000,

    If the service works well for a long time on the localhost port. I think the problem may be caused by hosting environment (windows service, IIS). in general, we need maintain the service regularly in cases of some system errors.  I suggest you try to restart the service.
    Feel free to let me know if the problem still exists.
    Best Regards

    Friday, October 19, 2018 1:52 AM