Azure Labs

%3CLINGO-SUB%20id%3D%22lingo-sub-1993235%22%20slang%3D%22en-US%22%3EAzure%20Labs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1993235%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20started%20multiple%20VM's%20in%20Azure%20Labs.%26nbsp%3B%20I%20have%20tried%20to%20connect%20to%20all%20of%20them%20via%20RDP.%26nbsp%3B%20I%20cannot%20connect.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2030898%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Labs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2030898%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F903746%22%20target%3D%22_blank%22%3E%40jnwang2020%3C%2FA%3E%2C%26nbsp%3Bsorry%20to%20hear%20that%20you%20are%20having%20issues%20using%20RDP%20to%20connect%20to%20your%20VMs.%26nbsp%3B%20I%20have%20a%20few%20questions%20to%20understand%20your%20scenario%20better%20and%20included%20a%20few%20tips%20that%20may%20help%3A%3C%2FP%3E%0A%3CP%3E1.)%20Are%20you%20using%20Linux%20or%20Windows%20VMs%3F%26nbsp%3B%20To%20help%20with%20setting%20up%20RDP%20with%20Linux%2C%20refer%20to%20the%20following%20doc%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Flab-services%2Fhow-to-enable-remote-desktop-linux%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EEnable%20graphical%20remote%20desktop%20for%20Linux%20in%20Azure%20Lab%20Services%20-%20Azure%20Lab%20Services%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E*%20Is%20the%20machine%20that%20you%20are%20using%20RDP%20from%20connected%20to%20a%20VPN%3F%26nbsp%3B%20There%20sometimes%20can%20be%20issues%20with%20VPNs%20-%20I%20recommend%20to%20try%20connecting%20from%20machine%20that%20is%20*not*%20connected%20to%20a%20VPN.%3C%2FP%3E%0A%3CP%3E*%20Is%20your%20lab%20account%20peered%20to%20a%20VNet%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlso%2C%20sometimes%20it%20can%20take%20several%20minutes%20for%20a%20VM%20to%20fully%20start%20before%20you%20can%20successfully%20connect%20using%20RDP.%26nbsp%3B%20Please%20trying%20to%20wait%20up%20to%205%20minutes%20to%20ensure%20this%20isn't%20the%20issue.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%2C%3CBR%20%2F%3ENicole%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I have started multiple VM's in Azure Labs.  I have tried to connect to all of them via RDP.  I cannot connect.  

1 Reply

@jnwang2020, sorry to hear that you are having issues using RDP to connect to your VMs.  I have a few questions to understand your scenario better and included a few tips that may help:

1.) Are you using Linux or Windows VMs?  To help with setting up RDP with Linux, refer to the following doc: Enable graphical remote desktop for Linux in Azure Lab Services - Azure Lab Services | Microsoft Doc...

2.) Is the machine that you are using RDP from connected to a VPN?  There sometimes can be issues with VPNs - I recommend to try connecting from machine that is *not* connected to a VPN.

3.)  Is your lab account peered to a VNet?

4.) Could a firewall be blocking your RDP connection?  Firewall settings for Azure Lab Services - Azure Lab Services | Microsoft Docs

 

Also, sometimes it can take several minutes for a VM to fully start before you can successfully connect using RDP.  Please trying to wait up to 5 minutes to ensure this isn't the issue.

 

Thanks,
Nicole