App Service can't reach a database through its Private Endpoint even though VNet integration is configured.
IntermediateTroubleshootingNetwork Connectivity Errors
Answer
Likely causes → App Service isn't using the private DNS zone (needs zone linked to the integration VNet or custom DNS), route all disabled, or NSG on PE subnet/DB firewall blocks it.
Diagnose → From Kudu console: nameresolver sql-shop.database.windows.net and tcpping sql-shop.database.windows.net:1433.
Fix →
- Link
privatelink.database.windows.netto the integration VNet (or setWEBSITE_DNS_SERVERto your resolver) - Enable outbound internet traffic through the VNet (route all)
- Allow the integration subnet in NSGs
Prevent → Standard App Service network template that includes DNS linking.
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