Azure内部负载均衡器IP(Azure internal load balancer IP)
我有一个非常简单的Azure VM设置。 一个VM位于内部负载均衡器后面,其私有IP地址为10.0.1.10。 Web服务正在该VM中运行。 我可以使用http:// localhost访问网站,但根据我的软件要求,我必须使用Load Balancer私有IP地址而不是localhost。 但我无法浏览内部负载均衡器IP地址( http://10.0.1.10无法从该VM运行)。 这是设计我不能通过它的私有IP地址访问内部负载均衡器? 或者我需要做一些特别的事情才能让它发挥作用?
I have a very simple Azure VM setup. One VM is behind an Internal Load Balancer, and it's private IP address is 10.0.1.10. A Web Service is running in that VM. I can access website by using http://localhost, but as per my software requirement, I have to use Load Balancer private IP address instead of localhost. But I can not browse with Internal Load Balancer IP address (http://10.0.1.10 does not work from that VM). Is that by design that I can't access Internal Load Balancer by it's private IP address? Or I need to do something special to make it work?
原文:https://stackoverflow.com/questions/40055576