Skip to content

Instantly share code, notes, and snippets.

@allanchua101
Created September 16, 2018 17:20
Show Gist options
  • Save allanchua101/6345496fc5fccaa01657243ca77e5be6 to your computer and use it in GitHub Desktop.
Save allanchua101/6345496fc5fccaa01657243ca77e5be6 to your computer and use it in GitHub Desktop.
Script for allowing HTTP traffic on testing ports.
netsh advfirewall firewall add rule name="Http Port 52790" dir=in action=allow protocol=TCP localport=52790
netsh advfirewall firewall add rule name="Http Port 52791" dir=in action=allow protocol=TCP localport=52791
netsh advfirewall firewall add rule name="Http Port 52792" dir=in action=allow protocol=TCP localport=52792
netsh advfirewall firewall add rule name="Http Port 52793" dir=in action=allow protocol=TCP localport=52793
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment