locked
Can't access virtual machine instance via remote desktop RRS feed

  • Question

  • I have tried accessing remote desktop from my machine (I can access my own machines) but can't find the server.  I used the dns name I was given when creating the instance and specified :3389

    I did some searches and although this seems to be a common problem I could not find a good answer.

    I also found that there should be a "Connect" icon at the bottom of the page in manage.windowazure.com - but the only icon there is a delete icon.  Maybe I should press that now to avoid being charged for an instance I can't get access to !

    Any suggestions ?

    Friday, July 10, 2015 12:49 AM

Answers

  • Hi,

    Check the basic information for the Virtual Machine that you want to log on:

    Connect from different network to see if it is possible to connect. If connecting from a different network succeeds, maybe the Remote Desktop connection is blocked by your local side. Then you can open the related ports to make the Remote Desktop Connection succeed. If the Remote Desktop connection is blocked by the corporate firewall, you need to contact the corporate network administrator for help.

    Resizing the Azure Virtual Machine may fix the issue if there is a problem specific to the host where the Azure Virtual Machine is currently running. Since D: drive will be lost and the internal IP address of the Azure Virtual Machine will also be changed if the Azure Virtual Machine ends up on a different host after resizing, please make sure that no important data on the D: drive and no influence would be caused by changing the internal IP address.

    Check the Remote Desktop configuration on the local side . You need to make sure that Remote Desktop service is not blocked on your local side.

    You can enable Telnet Client on your local computer and run “telnet xxx.cloudapp.net public_port_for_Remote_Desktop” at the command prompt to see if it is able to connect to the VM using the public port of the endpoint for Remote Desktop. If you receive any error message when running the Telnet command, it means a failure.

     Check the quick glance in the Dashboard of the Virtual Machine and ensure that the Virtual Machine is running and other parameters are all displayed. If not, please restart the Virtual Machine to see if the issue persists

    Check changes on the Azure Virtual Machine ,You need to check that if you had done any changes related to Remote connections on the Azure Virtual Machine.

    If you choose the option “Don’t allow remote connections to this computer” in the Remote Desktop settings or disable Remote Desktop in Windows Firewall on the Azure Virtual Machine, you can use the cmdlets below to enable RDP and the necessary Windows firewall rule for the Azure Virtual Machine if you have install VM agent on the Azure Virtual Machine: Get-AzureVM -ServiceName “xxx” -Name “xxx”| Set-AzureVMAccessExtension | Update-AzureVM

    In addition, you can also use Remote PowerShell endpoint to execute PowerShell commands remotely on Azure VM from our local machine to change the related configurations:

    Remote PowerShell in Azure IAAS Virtual Machines

    http://blogs.msdn.com/b/sriharsha/archive/2013/10/26/remote-powershell-in-azure-iaas-virtual-machines.aspx

    Troubleshoot Remote Desktop connections to a Windows-based Azure Virtual Machine

    Regards.

    Friday, July 10, 2015 5:23 AM
  • Hey Panicb,

    When you go to the portal, and click on the VM, at the very bottom you should see the "connect" option. once you click on it, you should get an already per-configred RDP file to access your VM. is your's grayed out? If so, do you do know if you have the RDP end point? (to see your endpoints, from this same panel there's an endpoint option right next to monitor).

    Sunday, July 12, 2015 8:20 AM

All replies

  • Hi,

    Check the basic information for the Virtual Machine that you want to log on:

    Connect from different network to see if it is possible to connect. If connecting from a different network succeeds, maybe the Remote Desktop connection is blocked by your local side. Then you can open the related ports to make the Remote Desktop Connection succeed. If the Remote Desktop connection is blocked by the corporate firewall, you need to contact the corporate network administrator for help.

    Resizing the Azure Virtual Machine may fix the issue if there is a problem specific to the host where the Azure Virtual Machine is currently running. Since D: drive will be lost and the internal IP address of the Azure Virtual Machine will also be changed if the Azure Virtual Machine ends up on a different host after resizing, please make sure that no important data on the D: drive and no influence would be caused by changing the internal IP address.

    Check the Remote Desktop configuration on the local side . You need to make sure that Remote Desktop service is not blocked on your local side.

    You can enable Telnet Client on your local computer and run “telnet xxx.cloudapp.net public_port_for_Remote_Desktop” at the command prompt to see if it is able to connect to the VM using the public port of the endpoint for Remote Desktop. If you receive any error message when running the Telnet command, it means a failure.

     Check the quick glance in the Dashboard of the Virtual Machine and ensure that the Virtual Machine is running and other parameters are all displayed. If not, please restart the Virtual Machine to see if the issue persists

    Check changes on the Azure Virtual Machine ,You need to check that if you had done any changes related to Remote connections on the Azure Virtual Machine.

    If you choose the option “Don’t allow remote connections to this computer” in the Remote Desktop settings or disable Remote Desktop in Windows Firewall on the Azure Virtual Machine, you can use the cmdlets below to enable RDP and the necessary Windows firewall rule for the Azure Virtual Machine if you have install VM agent on the Azure Virtual Machine: Get-AzureVM -ServiceName “xxx” -Name “xxx”| Set-AzureVMAccessExtension | Update-AzureVM

    In addition, you can also use Remote PowerShell endpoint to execute PowerShell commands remotely on Azure VM from our local machine to change the related configurations:

    Remote PowerShell in Azure IAAS Virtual Machines

    http://blogs.msdn.com/b/sriharsha/archive/2013/10/26/remote-powershell-in-azure-iaas-virtual-machines.aspx

    Troubleshoot Remote Desktop connections to a Windows-based Azure Virtual Machine

    Regards.

    Friday, July 10, 2015 5:23 AM
  • Hey Panicb,

    When you go to the portal, and click on the VM, at the very bottom you should see the "connect" option. once you click on it, you should get an already per-configred RDP file to access your VM. is your's grayed out? If so, do you do know if you have the RDP end point? (to see your endpoints, from this same panel there's an endpoint option right next to monitor).

    Sunday, July 12, 2015 8:20 AM