In Azure, the NSG on a VM's NIC allows inbound 443, but traffic is still blocked.
IntermediateTroubleshootingCloud networking: VPC, firewalls, NAT, VPN and proxies
Answer
Likely causes → Azure evaluates NSGs at both the subnet and the NIC level; inbound traffic must be allowed by both. A subnet-level NSG (or a lower-numbered deny rule) is blocking. A UDR sending traffic to a firewall appliance can also drop it.
Diagnose →
az network nic list-effective-nsg -g <rg> -n <nic>
az network watcher test-ip-flow -g <rg> --vm <vm> --direction Inbound \
--protocol TCP --local <vm-ip>:443 --remote <client-ip>:50000
az network nic show-effective-route-table -g <rg> -n <nic> -o table
Fix → Allow 443 in the subnet NSG too, or remove the conflicting deny rule; fix the UDR/firewall policy if traffic is forced through an NVA.
Prevent → Pick one level (usually subnet) for NSGs as a team convention, and use IP flow verify in troubleshooting runbooks.
More on Cloud networking: VPC, firewalls, NAT, VPN and proxies
An EC2 instance in a private subnet hangs on `apt-get update` at `Connecting to archive.ubuntu.com`.BeginnerA new EC2 instance in a "public" subnet can't be reached over SSH from the internet; the SG allows port 22 from your IP.BeginnerThe SG allows inbound 443 and the app works from inside the VPC, but internet clients time out. The subnet NACL allows inbound 443.IntermediateA VPC peering connection is `Active`, but instances in the two VPCs can't ping each other.BeginnerALB targets are `unhealthy` with reason `Target.Timeout`, and VPC Flow Logs show `REJECT` from the ALB's IPs to the instances.BeginnerTwo VPCs are attached to a Transit Gateway, but traffic between them fails.Intermediate