An existing connection was forcibly closed by the remote host with WCF

前端 未结 2 1123
盖世英雄少女心
盖世英雄少女心 2020-12-16 02:58

We have a wcf pub/sub setup using reliable sessions via netTcpBinding and on one machine where both the publication service and subscription service are being hosted in a co

相关标签:
2条回答
  • 2020-12-16 03:25

    Ok, I found out what my problem was.

    The service the client application was connecting to had mxConnection of 10. We were also using SecureMessaging and had a listenBacklog of 1. Amended maxConnections to 100 and listBacklog to 200 and it all works fine.

    0 讨论(0)
  • 2020-12-16 03:32

    For me the problem was that I didn't have the right Service Reference (from a dev machine vs a production machine).

    0 讨论(0)
提交回复
热议问题