Remote connectivity and VM start issues
In this section, we'll look at some common problems that can cause your VM to be unreachable via the network, and we'll provide a couple of ways to fix those issues.
The most common problem we have seen is that you can't reach the VM using ssh
, as shown in Figure 6.1:
Figure 6.1: SSH connection fails
In this case, the user tried to connect to an Azure VM's private IP address, 10.0.0.1
, directly from their laptop. This fails as the private IP addresses on Azure are always in the private IP range and cannot be directly accessed via the public internet. This is a change from your typical on-premises environment where you might have had the ability to directly connect to any VM in your datacenter. The actual error message may differ depending on your operating system and the actual cause of the connection failure.
Azure VMs typically have two IP addresses: the private internal IP and a public...