Skip to main content

Access a Windows EC2 Machine Through Windows Firewall

Use this article when a local machine needs to reach a Windows EC2 instance that has Windows Firewall enabled.

Validation workflow

  1. Confirm the EC2 security group allows the required port from the local source IP.
  2. Confirm Windows Firewall allows the same service inside the instance.
  3. Test connectivity with the approved access method and then narrow any temporary rule changes.

Last updated: September 25, 2026