Administrators connect directly to a Windows Server VM in Azure by using RDP on its default port.
Which destination port should the VM's network security group allow for these connections?
Why
The inbound rule must permit TCP 3389 because the VM uses the default RDP port.
- Not correct: TCP 22. TCP 22 is the default SSH port. It does not match the default RDP port required here.
- Correct: TCP 3389. Allow inbound traffic on TCP 3389 for direct RDP connections on the default port.
- Not correct: TCP 443. An allow rule for TCP 443 does not cover direct RDP on the default port, TCP 3389.
- Not correct: TCP 5985. An allow rule for TCP 5985 does not cover the VM's default RDP port, TCP 3389.