An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Hello @Riyas Razik
To help narrow down the issue, could you share a few additional details about your hybrid connectivity?
- Are you using Site-to-Site VPN or ExpressRoute?
- Can the Azure VM reach any on-premises hosts, or is the problem isolated to a specific server or subnet?
- What are the source and destination IP ranges?
In the meantime, I'd recommend checking the following:
- Verify the effective routes on the Azure VM's NIC to ensure the on-premises prefixes are being learned through the Virtual Network Gateway (or ExpressRoute).
- Review the effective NSG rules to confirm outbound traffic from the VM and return traffic are allowed.
- Validate that the on-premises firewall permits traffic from the Azure VNet address space and that a return route to the Azure subnet exists. A missing return route or firewall policy is a common cause of one-way connectivity.
- Use Azure Network Watcher (IP Flow Verify and Connection Troubleshoot) to determine whether Azure is allowing the traffic and where it's being dropped.
- If DNS names are being used, test connectivity by IP address first to rule out a DNS resolution issue.
If the VPN/ExpressRoute shows as connected but communication still fails, the issue is often related to routing, firewall policies, or asymmetric routing rather than the Azure VM itself. Microsoft recommends validating effective routes, NSG rules, and on-premises network policies as part of the troubleshooting process.
If you can share the exact error (timeout, connection refused, ping failure, specific port, etc.) and your network topology, the community can provide more targeted guidance.
Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.