Share via

VM Not Accessible via SSH and HTTPS – Requires Manual Restart

Uray Syawaludin 0 Reputation points
2025-07-18T05:39:06.11+00:00

Virtual Machine is inaccessible via SSH and HTTPS.

Last successful log received:

  • 16 July 2025 - 17:42 UTC+7
  • 18 July 2025 - 06:28 UTC+7

At that time, SSH and HTTPS became unresponsive, even though the VM status appears "Running" in the portal.

The only way to restore access is by manually restarting the VM from the Azure portal.

Please advise on how to prevent this from happening again.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


1 answer

Sort by: Most helpful
  1. Anusree Nashetty 6,475 Reputation points Microsoft External Staff Moderator
    2025-07-18T06:27:13.17+00:00

    Hi Uray Syawaludin,

    Your Azure VM appears "Running" but becomes unresponsive to SSH and HTTPS until manually restarted likely due to OS-level hangs, network stack issues, or application crashes.

    To prevent this, enable Boot Diagnostics and Serial Console for recovery access, set up Azure Monitor alerts for heartbeat or port failures, and configure auto-heal or automation runbooks to auto-restart the VM if unresponsive.

    Also, check inside the VM for logs to identify root causes like OOM errors or SSH service failures. Keep the Azure VM Agent and OS up to date and consider using load balancer health probes or scheduled restarts as a temporary workaround.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.