Share via

BASIC SKU static public IP of an azure virtual machine to STANDARD SKU static public IP

Madhusudan 26 Reputation points
2025-09-23T04:29:42.1033333+00:00

We initially assigned a BASIC SKU static public IP to an Azure virtual machine, but since the BASIC SKU is being retiring, we have switched to a STANDARD SKU static public IP for the same machine. After making this change, the machine is no longer accessible via RDP, and the website is also unreachable, despite updating the necessary DNS records in GoDaddy.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

Jilakara Hemalatha 13,945 Reputation points Microsoft External Staff Moderator
2025-09-23T16:17:27.57+00:00

Hi Madhusudan,

After investigating the RDP connectivity issue, here’s what we found and recommend for connecting to your Azure VM via the secondary public IP and private IP.

When you add a second public IP to your VM’s network interface, the VM needs to “know” about the corresponding secondary private IP. This requires manually adding the secondary private IP inside the VM’s network settings. Without this, RDP connections to the secondary public IP won’t work because the VM isn’t listening on that address.

Could you please follow the below steps:

  1. Use the primary IP to log into the VM.
  2. Open the network connections settings (ncpa.cpl), find your network adapter.
  3. Go to Properties → IPv4 → Advanced → IP Addresses.
  4. Add the secondary private IP address and subnet mask.
  5. Confirm the changes and verify with ipconfig that the new IP appears.
  6. Ensure your firewall and Network Security Group (NSG) allow RDP (port 3389) traffic. Note: In below path enter the primary Ip details from ipconfig all and DNS server (168.63.129.16 default) User's image
      And, in advanced add the secondary private Ip address.
    
    User's image

After this, you should be able to connect via RDP using the secondary public IP.

Note:
Secondary Private IP: Your computer must be on the same Azure VNet or connected via VPN to access the VM.

Secondary Public IP: Can be accessed from anywhere on the internet, just like the primary IP.

Please refer below official documentations:

https://techcommunity.microsoft.com/blog/itopstalkblog/step-by-step-adding-multiple-ip-addresses-to-an-azure-virtual-machine-with-power/2677513

https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/virtual-network-multiple-ip-addresses-portal#os-config

I have reproduced the issue it was worked for me. Hope this helps. Please let me know if you have any queries.

Was this answer helpful?

1 person found this answer helpful.

Answer recommended by moderator

Madhusudan 26 Reputation points
2025-09-25T04:08:45.1866667+00:00

Final solution

  1. The Basic SKU Public IP was dissociated from the VM using the Azure Portal.
  2. A Standard SKU Public IP address was created and associated with the VM’s existing private IP address through the Azure Portal. This private IP was originally assigned dynamically within the Azure VM’s operating system.

This resolved the issue of assigning a Standard Public IP to the VM.

  1. To assign an additional Public IP to the VM, a secondary private static IP address was added to the network interface via the Azure Portal.
  2. Another static Public IP address was then created and associated with the secondary private IP address via the Azure Portal.
  3. Inside the Azure VM, the primary IP address, default gateway, and DNS settings — which were previously assigned dynamically — were manually configured with the same values to make them static. This step was necessary to allow the assignment of the secondary IP address.
  4. The same secondary private IP address (created via the Azure Portal) was then configured within the Azure VM operating system.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. TP 156.8K Reputation points Volunteer Moderator
    2025-09-23T04:42:15.9433333+00:00

    Hi,

    Please confirm that you have inbound rules for TCP 3389 (RDP), TCP port 443, and TCP port 80 for the Network Security Group (NSG) associated with your VM's network interface or subnet. Standard SKU Public IPs are secure by default which means you need to specifically allow the incoming ports you need.

    Please navigate to your VM in Azure portal, on left click on Networking -- Network settings. If you don't already have an NSG for your network interface or subnet you may click Add network security group button, otherwise click Create port rule -- Inbound port rule to create new inbound rule.

    If you are unsure how to create NSG and/or necessary inbound port rules, please add comment below and I will assist further.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    Was this answer helpful?

    1 person found this answer helpful.

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.