2个WCF服务进程可以侦听同一端口吗? [英] Can 2 WCF service processes listen the same port?

查看:32
本文介绍了2个WCF服务进程可以侦听同一端口吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道2个进程不能监听相同的端口,但是

I know 2 processes can't listen the same port, but as it happens with HTTP requests in the port 80, I know Windows can receive the packets and reroute to the appropriate services. I just don't know if it also happens with other ports and protocols (net.tcp for instance).

推荐答案

如果运行WCF提供的 Net.Tcp端口共享服务,您可以允许多个WCF应用程序侦听和共享同一TCP端口.

If you run the WCF-provided Net.Tcp Port Sharing service, you can allow multiple WCF applications to listen on, and share, the same TCP port.

这篇关于2个WCF服务进程可以侦听同一端口吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆