Hi Danmark Yoga,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
We understand from your query that you are experiencing an issue while trying to connect Virtual machine through RDC.
Please make sure that port number 3389 is enabled in the Network Security Group. If it's not enabled, please add the RDP port (3389) and attempt the Remote Desktop connection once more.
If you have any further queries, do let us know.
If the answer is helpful, please click "Accept Answer" and "Upvote it."