Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Migrating Linux to Microsoft Azure

You're reading from   Migrating Linux to Microsoft Azure A hands-on guide to efficiently relocating your Linux workload to Azure

Arrow left icon
Product type Paperback
Published in Jul 2021
Publisher Packt
ISBN-13 9781801071727
Length 210 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Toni Willberg Toni Willberg
Author Profile Icon Toni Willberg
Toni Willberg
Rithin Skaria Rithin Skaria
Author Profile Icon Rithin Skaria
Rithin Skaria
Arrow right icon
View More author details
Toc

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:

SSH connection fails in Azure CLI

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime