Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 GCP 云上设置内部负载均衡器,问题是,当我尝试通过另一个属于同一 VPC 的实例访问相同的负载均衡器时,我面临“连接被拒绝”错误。已检查防火墙规则并交叉检查负载均衡器和尝试访问的独立实例是否位于同一子网中。
内部负载均衡器是区域性的,即 us-east 中的实例无法与 us-central 中的内部负载均衡器通信,即使在同一个 VPC 中也是如此。
您应确保源 VM 的子网与 ILB 的子网位于同一区域
作为一种潜在的解决方法,您可以使用它