web analytics

How to enable RDP connection to a Azure virtual machine?

Options

codeling 1602 - 6666
@2020-10-29 21:43:53

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:

  1. Sign in to the Azure portal.

  2. In Virtual Machines, select the VM that has the problem.

  3. In Settings, select Networking.

  4. In Inbound port rules, check whether the port for RDP is set correctly. The following is an example of the configuration:

    Priority: 300
    Name: Port_3389
    Port(Destination): 3389
    Protocol: TCP
    Source: Any
    Destinations: Any
    Action: Allow

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.

@2021-01-14 07:36:05

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:

Reset the user credentials in the Azure portal.

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com