i tried to assign public ip address to the virtual machine but it says that the deployment is failed

Heman Shrestha 0 Reputation points
2023-06-15T02:22:30.17+00:00

while connecting to my virtual machine it says that the ip address prerequiste is not meet and when i try to assign the public IP address it says that the deployment is failed

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 45,026 Reputation points
    2023-06-15T10:51:07.98+00:00

    Hello there,

    In this article, you learn how to associate a public IP address to an existing virtual machine (VM). To do so, you associate the public IP address to an IP configuration of a network interface attached to a VM. You can use the Azure portal, the Azure CLI, or Azure PowerShell.

    If you want to instead create a new VM with a public IP address, you can use the Azure portal, the Azure CLI, or Azure PowerShell.

    https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/associate-public-ip-address-vm

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

Your answer

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