question

PiyushMeshram-2335 avatar image
0 Votes"
PiyushMeshram-2335 asked vipullag-MSFT commented

RDP to Azure VM keep failing after restart/stop-start

Hi,

What is the meaning of this boot diagnostic screenshot?




From the screenshot i can say that VM is disconnected from the network?
How to troubleshoot this?
IP is still the same on Azure portal blade.
tried start-stop/restarting the VM no luck. please help.

azure-virtual-machinesazure-virtual-machines-networking
image.png (208.8 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is this a new deployment or was it working previously? It might be DNS related, have you get custom DNS servers set up on the VNET or on the NIC of this VM?

0 Votes 0 ·

@PiyushMeshram-2335

Can you please use this link and see if the port is open or not.


0 Votes 0 ·

1 Answer

Dev073 avatar image
1 Vote"
Dev073 answered AlanKinane commented

It means the VM is booted fine but connectivity may be a issue.
can you please answer the below:

  1. form when you started facing this issue ?

  2. are you accessing the VM from public IP or VPN ?

  3. any changes made to windows firewall ?

  4. have you checked your NSGs for any blockage observed?

have you tried https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-nic-disabled ?


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes, I have tried all the steps,

RDP port 3389 (inbound) is opened but still cannot connect to the port. so NSG is fine and working.

Cannot boot into system through RDP so cannot change the internal settings. (Please specify if any, will find some command for that if possible using console in portal)

Agent Status is not ready.


How to reinstall the agent in portal? why this issue occurred? I need to know this cause it should not happen in the future.

Docs are redirecting me to backup steps, I haven't configured a restore point or setup any kind of backup. I cant afford to lose data.

Please help.

0 Votes 0 ·
AlanKinane avatar image AlanKinane PiyushMeshram-2335 ·

Are you sure it's not a DNS issue? Did you set any IP address settings on the VM itself?

You can try to reset RDP on the VM, there are other troubleshooting options listed on this link also:
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/reset-rdp

Reset NIC on VM if the above isn't working:
https://docs.microsoft.com/en-us/troubleshoot/azure/virtual-machines/reset-network-interface

1 Vote 1 ·