Day 27: Deploying Virtual Machines in a Private Virtual Network:error

the lab is throwing me error . i have created a inbounnd rule .

Your NSG allows ANY port as Destination. You need to set the NSG rules for the VM allow SSH access only from within the VNet’s CIDR block. You need to set the destination as port 22.

You can follow this solution and see if it helps.

@Santosh_KodeKloud Thanks , It worked !!