Azure Web 应用访问服务结构的虚拟网络
Azure web app accessing service fabric's virtual network
我有一个托管许多遗留 WCF 服务的 Service Fabric 群集,我想将 Azure 应用服务(运行 一个网站)连接到结构群集的 VNET,以便它可以与 WCF 服务通信在集群中。
我使用 VNET 对等连接将结构集群的 VNET 连接到我们组织的现有虚拟网络,并且我可以从现有虚拟网络中的 VM 连接到 WCF 服务。
但是,从应用程序服务连接时,出现以下错误:
Could not connect to net.tcp://10.0.0.250:8020/. The connection attempt
lasted for a time span of 00:00:00. TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 10.0.0.250:8020.
我已经配置了一个内部负载平衡器,如果我从虚拟网络内部连接,它工作正常。有谁知道为什么它不适用于网络应用程序?
如果要从 Azure 应用服务访问 VNet 中的资源,可以 enable networking for app service。注意
VNet Integration gives your web app access to resources in your
virtual network but doesn't grant inbound private access to your web
app from the virtual network. Private site access refers to making
your app only accessible from a private network such as from within an
Azure virtual network. VNet Integration is only for making outbound
calls from your app into your VNet.
有两个版本的 VNet 集成,如果 Service Fabric 的虚拟网络与您的 Web 应用位于同一区域,您可以使用区域 VNet 集成。
我有一个托管许多遗留 WCF 服务的 Service Fabric 群集,我想将 Azure 应用服务(运行 一个网站)连接到结构群集的 VNET,以便它可以与 WCF 服务通信在集群中。
我使用 VNET 对等连接将结构集群的 VNET 连接到我们组织的现有虚拟网络,并且我可以从现有虚拟网络中的 VM 连接到 WCF 服务。
但是,从应用程序服务连接时,出现以下错误:
Could not connect to net.tcp://10.0.0.250:8020/. The connection attempt lasted for a time span of 00:00:00. TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 10.0.0.250:8020.
我已经配置了一个内部负载平衡器,如果我从虚拟网络内部连接,它工作正常。有谁知道为什么它不适用于网络应用程序?
如果要从 Azure 应用服务访问 VNet 中的资源,可以 enable networking for app service。注意
VNet Integration gives your web app access to resources in your virtual network but doesn't grant inbound private access to your web app from the virtual network. Private site access refers to making your app only accessible from a private network such as from within an Azure virtual network. VNet Integration is only for making outbound calls from your app into your VNet.
有两个版本的 VNet 集成,如果 Service Fabric 的虚拟网络与您的 Web 应用位于同一区域,您可以使用区域 VNet 集成。