Hosting Multiple TCP WCF service Endpoints on single Port

后端 未结 3 1068
情歌与酒
情歌与酒 2021-01-15 16:06

I am hosting 3 WCF services inside windows services.Each WCF service contains Multiple endpoints. Right now, i am host all my endpoints thru TCP binding on different ports.

3条回答
  •  离开以前
    2021-01-15 16:45

    As far as I know you not only have to enable port sharing on the configuration (or via code), you also have to manually start the Windows Port Sharing service.

    That's the reason why I (having similar problem) didn't want to use port sharing, to make it easier for deployment rather than having to mess with other things the user may or may not know.

提交回复
热议问题