本文介绍了如何将公共子网中的elb与具有私有子网中的ip的vm连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试访问apache2默认页面,该页面安装在具有私有IP的vm中,该页面由ELB在私有子网中,而ELB在我在虚拟网络中创建的公共子网中.

I am trying to access apache2 default page which is installed in vm having private ip which is in private subnet by ELB which is in public subnet which is i am created in virtual network.

我正在努力争取ELB的公开IP但没有获得apache2的默认页面,该页面已安装在具有专用ip的vm中的专用子网中.对于路由,我正在使用Backendpool,负载平衡规则和运行状况探针,还配置了NSG 私有子网中的虚拟机.

I am trying to hit the public IP OF ELB  but do not getting the default page of apache2 which is installed in vm having private ip in private subnet. For routing i am using Backendpool, load balancing rule and health probe and also configure NSG of vm in private subnet . 

感谢Advance ....

thanks in Advance....

推荐答案

只需确认,您是否已将VM连接到端口80?您可能还需要打开对Apache的互联网访问.

此外,会建议您检查类似 SO线程 ,请告诉我们是否有帮助.

Also, would suggest you to check the similarSO thread and let us know if this helps.


这篇关于如何将公共子网中的elb与具有私有子网中的ip的vm连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 20:38