Cannot remote desktop into Windows Azure VM
Solution 1
Can you check that port 3389 is open in your VM? This port is normally used by remote desktop? You can check this from Virtual machine->Endpoint section within new azure preview portal. if there is no port defined, you will have to create new one.
Solution 2
It could be that the port is blocked, Azure VMs default to port 52137, in your endpoint settings alter this to the regular port 3389 - this worked for me.
Matt
Updated on June 08, 2020Comments
-
Matt almost 4 years
I am running a trial of Windows Azure and setup a simple Windows Virtual Machine. However, I do not seem to be able to use the Windows Remote Desktop connection to remote into the machine. What am I doing wrong? At first sight it does not seem to like my userID and password. But then I also cannot ping the VM address. I do not want to go through VS or any other tool, I like to do a simple remote desktop connection through the Windows RMD tool.
-
Matt almost 12 yearsWill add this, but I dont think it explains why I cannot even ping the ip of my instance...
-
Matt almost 12 yearsAlso what internal port do you use when setting a new external endpoint port to 3389? The internal 3389 port is reserved...;-(
-
Matt almost 12 yearsI actually already have a remote desktop port set when creating a new instance, 3389 internally, 63252 externally. But nothing works, what worries me the most is that i cannot even ping the vm.
-
bhavesh lad almost 12 yearsHow are you trying to remote desktop? by running mstsc command on your machine? or from azure portal -> Connect? In mstsc, you will have to follow format of <your VMURL>:63252 when connecting
-
Matt almost 12 yearsfrom my windows machine. I start the remote desktop tool, enter my instance IP and port that was externally exposed: xxx.xx.xxx.xxx:yyyy
-
Matt almost 12 yearsbut I first like to resolve why I cannot ping my instance. How can I specify the port when using the "ping.exe" command in the dos shell within windows 7?
-
bhavesh lad almost 12 yearsYou mayhave to add rule for ICMP in your VM's firewall.. Go to Control Panel --> System and security --> Windows Firewall --> Advanced settings --> Inbound rules --> New rule --> custom rule in Protocol and ports: Protocol: ICMPv4 on the same panel go to customize, choose "Specific ICMP types", check the box "echo request" Go to next... next... and save it.
-
Matt almost 12 yearsthanks but this did not solve the problem. I am sure I can connect through remote desktop but I cannot get past the login, it refuses userID and password. I strongly assume the UserID is the hostname I specified for the instance, correct?
-
bhavesh lad almost 12 yearsUser id is Administrator for VM
-
Matt almost 12 yearsHa, it works. Just out of curiosity, where would I figure out that it was Administrator? And how can I change it? by the way, below was the response I got from MS after describing in detail what my problem was...
-
Matt almost 12 yearsam happy to mark your responses as the correct answer if you want to put up an answer. You solved my problem, maybe its trivial but you really went the extra mile to help out, really appreciate your help (I upvoted your comments)
-
bhavesh lad almost 12 yearsWhen you create VM, username is always administrator. You can create more uses after log in to that VM and going to use account section. Since this portal is in beta, it is not displayed anywhere. I am sure in final version, they will have more useful portal
-
Matt almost 12 yearshope so, right now it looks pretty bumpy to say the least. Is it MS's policy to block downloading and installing Google Chrome or Firefox to its VM instances? ;-) I did not manage to install either...
-
bhavesh lad almost 12 yearsyou can install without any issue. when downloading from IE, you have to change security policy of browser which is by default very strict and does not allow any downloading
-
Matt almost 12 yearsok thanks, locating the browser or any other standard windows component for that matter in this specific server instance was an adventure in itself ;-)
-
lrkwz about 11 yearsDoes not work for me, Port 3389 is open but I cannot connect (using remmina).
-
AvkashChauhan about 10 years@MattWolf This is the answer given almost 2 years back, and things have changed a lot. -ve voting an old answer depend on personal bad experience is not constructive.
-
Matt about 10 yearsnot sure why someone deleted my comment on why I downvoted. Guiding someone to the MS forums in case one does not find an answer here on StackOverflow is bizarre to say the least. And yes, my VM was running...with all due respect but I would downvote such answer twice if I could, not just an answer to my own question, simply because the quality content is close to zero. It basically boils down to "hey, if you checked your instance is running then come to our forum for help".