Azure Bastion connection to VM

Vivekraj Md 0 Reputation points
2026-10-16T12:47:43.5033333+00:00

I'm trying to access the VM via Bastion but I'm not able to connect it as I get connection time out error. Would it be any firewall issue? Any help is much appreciated.

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.

0 comments No comments

1 answer

Sort by: Newest
  1. Andreas Baumgarten 133.1K Reputation points MVP Volunteer Moderator
    2026-10-16T13:12:36.2266667+00:00

    Hi @Vivekraj Md ,

    please check if you have Network Security Groups (NSGs) deployed and related/associated with the VM or the subnet the VM is connected with.

    In the NSG(s) you need to allow Port 3389 for RDP or/and Port 22 for SSH connections.

    Same counts for firewalls. If there are firewalls to control communication/connections your might need rules to allow the connections between Azure Bastion and the VM.

    Source: About Azure Bastion IP-based connection

    Which Azure Bastion SKU Type are you using (Dev, or Basic)?


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    Was 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.