Skip to content

Instantly share code, notes, and snippets.

@Sebastian1011
Created March 2, 2017 11:07
Show Gist options
  • Save Sebastian1011/e0c57fffa87188d7c0eaddf3c72c165a to your computer and use it in GitHub Desktop.
Save Sebastian1011/e0c57fffa87188d7c0eaddf3c72c165a to your computer and use it in GitHub Desktop.
window开放端口
或者在管理员权限的cmd里打这句命令:
netsh advfirewall firewall add rule name="SecurityGateMaster_PortOpen" protocol=TCP dir=in localport=8080,9999,3306,9910,21200,21500 action=allow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment