Skip to content

Instantly share code, notes, and snippets.

@AlanD20
Last active April 14, 2022 06:34
Show Gist options
  • Save AlanD20/98f025caa2d3e8e18837917041e69b1e to your computer and use it in GitHub Desktop.
Save AlanD20/98f025caa2d3e8e18837917041e69b1e to your computer and use it in GitHub Desktop.
Fix latest windows 10 unreleasing ports after using it.

Release unreleased ports when Windows does not fully release them.

  • Don't forget to Restart your computer.
netsh int ip reset resetlog.txt
netsh int ipv4 set dynamic tcp start=49152 num=16384
reg add HKLM\SYSTEM\CurrentControlSet\Services\hns\State /v EnableExcludedPortRange /d 0 /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment