built a vm in azure but cannot connect via ssh. The IP cannot be pinged.

Malon Chetty 0 Reputation points
2025-04-30T08:47:51.7+00:00

Hi Guys

I deployed a vm in azure but after deployment, the vm cannot be pinged nor can I access via ssh. I have done the troubleshooting but still no luck.

The vm cannot ping it's self either.

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
751 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rex de Koning 0 Reputation points MVP
    2025-05-04T07:12:04.94+00:00

    HI Malon,

    I see you vm's doesn't have a public ip address, so before you can reach this VM via SSH you need to make sure there is a way into Azure like via a VPN tunnel or using Bastion.

    If you are trying to connect to VM from another VM in Azure and they are not in the same VNET make sure to have peering in place and check of there are no Network Security Groups blocking the connection.

    Rex

    0 comments No comments

Your answer

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