How to access the VM if I changed by static IP address

Udhayakumar Sundaramurty 21 Reputation points
2022-12-12T12:47:57.69+00:00

I have created a VM with default settings. After taking remote connection , I changed the IP address to static. Thought , I could change the IP settings in VM after this. But now I couldn't access the VM.
I tried to edit the IP settings on my VM settings which was not possible.
Did a restart and redeploy (which is still in progress)

Recommend any other steps to fix this.

Thank you.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,014 questions
Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
391 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Salah 251 Reputation points
    2022-12-13T10:52:14.543+00:00

    please try these steps to reset the network interface of you VM: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/reset-network-interface

    If you want to provide a "static IP" to a VM please never do this inside the VM OS.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.