Internal Load Balancer works from other VNets but not from VMs in its own backend pool.
AdvancedTroubleshootingNetwork Connectivity Errors
Answer
Likely causes → Hairpinning is not supported: a backend VM calling the ILB frontend can be load-balanced to itself and the flow fails.
Diagnose → Calls from non-backend VMs succeed; from backend VMs fail intermittently.
Fix → Call the service locally or via another tier, or put a proxy in front; for AKS, call the ClusterIP Service instead of the ILB.
Prevent → Know the ILB hairpin limitation when designing.
More on Network Connectivity Errors
A VM with a public IP times out on SSH (`ssh: connect to host 20.x.x.x port 22: Connection timed out`).Beginner`nslookup kv-shop.vault.azure.net` from inside the VNet returns a public IP even though a Private Endpoint exists.IntermediateKey Vault returns `Client address is not authorized and caller is not a trusted service.` (ForbiddenByFirewall).BeginnerApplication Gateway returns `502 Bad Gateway` and backend health shows Unhealthy.IntermediateApp Gateway v2 deployment fails or goes unhealthy after a UDR `0.0.0.0/0 → firewall` was added to its subnet.AdvancedTwo VNets peered but VMs can't communicate; peering state shows `Initiated`.Intermediate