问题描述
根据混合通信文档 https://docs.microsoft.com/en-us/azure/biztalk-services/integration-hybrid-connection-overview 混合连接不需要在防火墙中打开任何入站端口.
As per hybrid communication documentation https://docs.microsoft.com/en-us/azure/biztalk-services/integration-hybrid-connection-overview hybrid connections does not require any inbound ports to be opened in firewall.
但是如果没有入站端口,则如何与来自外部世界的内部资源进行通信?我了解混合连接管理器(HCM)充当通信的桥梁,但是驻留在公司网络中的HCM如何从Azure接收消息?
But without an inbound port how does the communication happen with on premise resource from outside world? I understand the Hybrid connection manager (HCM) acts as a bridge for communication, but how does HCM, which resides in corporate network receive messages from Azure?
推荐答案
双方(Web应用和本地)打开与混合连接终结点的出站连接-实际上只是服务总线中继在下面.然后,HC端点将两个TCP管道修补在一起.
Both parties (Web App and on-prem) open outbound connections to the Hybrid Connection endpoint - which is really just Service Bus Relay underneath.The HC endpoint then patches together the two TCP pipes.
这是一张图片:
您还可以对混合连接进行高可用性,只需在两个混合连接管理器上使用相同的连接字符串-负载平衡和故障转移将被激活:
You can also do High Availability with Hybrid Connections, just use the same Connection String on both Hybrid Connection Managers - load-balancing and failover will be activated:
请注意,这里有一个新的Hybrid Connections产品(v2),它消除了对BizTalk名称空间的依赖.此处的更多信息: https://docs .microsoft.com/en-us/azure/app-service/app-service-hybrid-connections
Note there's a new Hybrid Connections offering (v2), which removes the dependency on BizTalk namespaces. More on that here: https://docs.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections
这篇关于azure如何建立与混合连接管理器的连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!