How to solve VM connection failure

H794 20 Reputation points
2023-10-19T04:55:48.4966667+00:00

I have encountered a problem, which is when I created a new VM, and used Final Shell to connect to it, it's totally fine. But on the next day, it can't be connected! I didn't change anything!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,273 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dillon Silzer 54,751 Reputation points
    2023-10-19T05:07:56.16+00:00

    Hi H794,

    Check your NSG rule for connecting to your Azure VM. I'd verify that your Public IP address is still the same as listed in the NSG rule for connecting via shell (I'm assuming you are talking via SSH which is port 22). Verify your inbound port rules to ensure they match your Public IP address.

    Connect to a Linux VM

    https://learn.microsoft.com/en-us/azure/virtual-machines/linux-vm-connect?tabs=Linux

    User's image


    If this is helpful please accept answer.


0 additional answers

Sort by: Most helpful