获取 MSDN PeerChannel“SecureChat”运行在Windows Server 2008 R2上
我只能获取 这个 PeerChannel SecureChat 的 SDK 示例< /a> 在基本家庭网络中的以下场景中工作:
- 在同一台计算机上运行的本地实例之间,或者
- 在 Windows 7 计算机之间,
我无法让它在我的 Windows Server 之间工作2008 R2 和任何其他机器(不会抛出异常,但节点永远找不到彼此,因此不会“在线”)。我可以 ping 所有机器之间的 IPv6 地址。该可执行文件具有防火墙例外规则,但我也尝试完全禁用 Windows 2008 防火墙。 PRNP 服务正在运行。
可以让它工作吗?怎么做?
它可以在您的 2008 年机器上运行吗?
我的最佳猜测:我注意到在 Windows 7 计算机中,存在“对等网络分组”和“对等网络身份管理器”服务。 “对等网络分组”服务的描述和在线讨论专门讨论了启用多方对话,但与家庭组相关。 Windows Server 计算机中缺少此服务。
因此,我怀疑缺少服务是 SecureChat 示例无法在 Windows Server 计算机上运行的原因,但我不明白为什么 Microsoft 会阻止 Peer Channel 在服务器产品上运行。难道是这个原因吗?
谢谢!
I can only get this SDK sample of PeerChannel SecureChat to work in the following scenarios in a basic home network:
- Locally among instances running on the same machine, or
- Among Windows 7 machines
I cannot get this to work between my Windows Server 2008 R2 and any other machine (no exceptions are thrown, but the nodes never find each other and thus don't go "online"). I CAN ping the IPv6 addresses among all machines. The executable has a firewall exception rule, but I have also tried disabling the Windows 2008 firewall completely. The PRNP Service is running.
Is it possible to get it working? How?
Does it work on YOUR 2008 machine?
My best guess: I notice that in the Windows 7 machines, the "Peer Networking Grouping" and "Peer Networking Identity Manager" services are present. The "Peer Networking Grouping" service's description there and online talks specifically about enabling multi-party conversations, but related to Home Groups. This service is missing in the Windows Server machine.
So, I suspect the missing service as the reason that the SecureChat sample won't work on the Windows Server machine, but I don't understand why Microsoft would lock out Peer Channel from working on the Server product. Could this be the reason?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试在服务器上启用这些服务:
然后只需确保修改防火墙规则即可;默认情况下,它们会阻止 IPv4 / IPv6 Teredo 隧道驱动程序。由于 PNRP 的要求,需要支持 IPv6。
此外,您应该能够通过两种方式配置您的服务;通过 Internet 信息系统 (IIS) 或作为 Windows 服务。最好的选择是使用 IIS,您可以在此处找到一篇有关如何配置它的文章:托管和使用 WCF 服务
这些是我能想到的让它运行的一些技巧。希望有帮助。
Try enabling these services on the server:
Then simply ensure that the Firewall Rules are modified; by default they block IPv4 / IPv6 Teredo Tunneling driver. IPv6 needs to be supported as it is required by PNRP.
Also you should be able to configure your service in two ways; through Internet Information Systems (IIS) or as a Windows Service. Your best bet will be to use IIS, you can find an article here on how to configure it: Hosting and Consuming WCF Service
Those are the few tips I can think of to get it running. Hope that helps.
这个 MSDN 页面提到了这个微妙的细节PNRP 的 Windows 实现:
This MSDN page mentions this subtle detail of Windows implementation of PNRP: