azure virtual machine changed the public IP after a stop/start

antoniogbn asked:

I had an issue on one of my virtual machines where after a stop/start it changed the public IP address
Which was been used by some IOT client devices to reach my server.

Now they not able to communicate with our server

Is any way I can revert it ?


My answer:

You need to check the configuration of your VM’s public IP address and ensure that the assignment is set to Static, and not Dynamic.

Azure Public IP Address Configuration

Unfortunately you will not be able to get the old IP address back, but once you set your current IP address to Static, you will be able to keep it even if you restart your VM.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.