When you create a new virtual machine, all traffic from the Internet is blocked by default.
To enable the Remote Desktop Protocol (RDP) port in a network security group to which the network interface is attached, follow these steps:
Sign in to the Azure portal.
In Virtual Machines, select the VM that has the problem.
In Settings, select Networking.
In Inbound port rules, check whether the port for RDP is set correctly. The following is an example of the configuration:
If you specify the source IP address, this setting allows traffic only from a specific IP address or range of IP addresses to connect to the virtual machine. Make sure that the computer you are using to start the RDP session is within the range.
If you can't connect with RDP to a Windows VM in Azure because you forgot your password, this tip show you how to resets the password on a local administrator account when you are unsure or have forgotten the credentials. Once you have logged into the VM, you should reset the password for that user.
Select your VM in the Azure portal. Scroll down the settings pane to the Support + Troubleshooting section near bottom of the list. Click the Reset password button. Make sure the Mode is set to Reset password and then enter your username and a new password. Finally, click the Update button:
© 2022 Digcode.com