3 Ways to Solve Azure VM Connectivity Issues
My journey with technology has been one of trial and error, but each challenge has taught me how to solve problems efficiently. Now, I channel that expertise into creating straightforward, practical guides that make even the most intimidating devices accessible to everyone.
How to Fix Azure VM Connectivity Issues Between Two VMs
Arguably the most common of all Azure connectivity issues is when two VMs on the same virtual network can’t connect with one another. There are numerous potential causes of this, but these steps should resolve the issue:
Step 1:Download “TCping” to your VM.
Step 2:Launch Command Prompt.
Step 3:Use the following command: “tcping64.exe -t 3389” to ping the location where you downloaded TCping. (Replace the “destination VM address” part with the name of the folder).
Step 4:If that worked, move to Step 5. Otherwise, check your “Inbound port rules” on each VM and ensure there aren’t any matching blocking rules that could interfere with the connection, then run the TCping check again.
Step 5:Run a Remote Desktop connection to your VM by going into Azure, clicking “Virtual Machines,” selecting the VM you’re trying to connect, and hitting the “Connect” button.
Step 6:Try a connection check through PowerShell and the Azure Network Watcher and review the response.
Step 7:The Hops section of your connection check should display the source or issues behind your connectivity problem. You can then identify and fix each issue, using Microsoft’sown table of recommended actions.
Step 8:Run the connectivity check one last time, once you’ve taken resolution steps, to confirm it’s all fixed.
How to Resolve Azure Connection Issues with Second Network Adapters
You may also struggle to connect to virtual machine Azure second adapters on the same network. Here’s how to resolve that:
Step 1:Go to whichever VM has the secondary adapter, and load up a Command Prompt on it.
Step 2:Run this command: “Route add 0.0.0.0 mask 0.0.0.0 -p ” and replace the “Gateway IP” part with your secondary IP.
Step 3:Launch Route Print and then try to connect.
Step 4:If that didn’t work, verify your “Inbound port rules” for both adapters (first and second). Check there aren’t any matching blocking rules that could cause clashes or interfere with the connection.
Step 5:Run a connection check to the second adapter and then a secondary check across the full environment through the Azure Network Watcher.
Step 6:Check the “Hops” to see what’s wrong, and follow Microsoft’srecommended stepsto resolve it.
Fix Azure VM Connectivity Issues to the Internet
Some VMs also just can’t connect to the internet for one reason or another. Here’s how to fix that:
Step 1:Go to the Resource Explorer.
Step 2:Find “Subscriptions” and open it, then locate which VM is having an issue.
Step 3:Click on “Microsoft Network,” then go to “Network Interfaces” and pick the problematic interface.
Step 4:Select “Read/Write,” then choose “Edit.”
Step 5:At this stage, you’ll notice the button in the top left changes from “Get” to “Put.” Select your interface and click on the “Put” button.
Step 6:Refresh and retry the connection.
Step 7:If issues persist, go into the Azure Network Watcher and launch a connection check. Review “Hops” to see what’s going on and take the nextbest stepsaccording to Microsoft.
Was this helpful?
Last updated on 05 October, 2024
Leave a ReplyCancel reply
Your email address will not be published.Required fields are marked*
Name*
Email*
Comment*
Δ
Read Next
The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.
More in Windows
How to Rotate Videos in Windows 11
How to Enable Two-Factor Authentication on Steam
JOIN THE NEWSLETTER
Get Guiding Tech articles delivered to your inbox.
© 2024 Guiding Tech Media. All Rights Reserved.