Ravindra BagaleCourses & study guides Track your progress

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.

  1. Find the VM’s NSG in Networking.
  2. Add inbound allow TCP/80 with a clear name allow-http-lab.
  3. Browse http://PUBLIC_IP — default Nginx page.
  4. 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.