I am trying to setup a internal load balancer on GCP cloud , and the problem is, when i try to access the same via another instance which falls under same VPC I am facing "Connection refused" error. Firewall rules has been checked as well as cross checked that load balancer and standalone instance which is trying to access are in same subnet.
Asked
Active
Viewed 2,123 times
1

Jesse Scherer
- 1,492
- 9
- 26

Rujuta S
- 171
- 1
- 1
- 11
-
your description is not clear can you update your issue more clearly, did you Create firewall rule that allows all traffic within the subnet? Did you Configure a [firewall rule to allow Internal Load Balancing](https://cloud.google.com/load-balancing/docs/internal/setting-up-internal#configure-a-firewall-rule-to-allow-internal-load-balancing) ? – Alioua Aug 28 '18 at 15:23
1 Answers
0
Internal load balancers are regional, i.e an instance in us-east cannot communicate with an internal load balancer in us-central, even within the same VPC.
You should make sure that your source VM's subnet is in the same region as your ILB's
As a potential workaround you could use this

Notauser
- 406
- 2
- 10