6. SSH into Azure VM and Install Nginx
6.3 NSG HTTP and Verify
Why. Port 80 closed in NSG = browser timeout even if Nginx is fine.
What. Add an inbound NSG rule allowing TCP 80 from your IP (better) or carefully from the internet for a short lab.
How.
- Find the VM’s NSG in Networking.
- Add inbound allow TCP/80 with a clear name
allow-http-lab. - Browse
http://PUBLIC_IP— default Nginx page. - Remove wide-open rules after the lab if not needed.
Ravindra Bagale's Tip
Port 22 world-open = scanners khush. Shakyachi IP allow kara jevha shakya.