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

前端 未结 2 1131
盖世英雄少女心
盖世英雄少女心 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.

提交回复
热议问题