Skip to content

Instantly share code, notes, and snippets.

@ryanc-me
Created July 17, 2022 06:39
Show Gist options
  • Save ryanc-me/ffae27d85d600c0fa237230a7a41af2d to your computer and use it in GitHub Desktop.
Save ryanc-me/ffae27d85d600c0fa237230a7a41af2d to your computer and use it in GitHub Desktop.
An attempt was made to access a socket in a way forbidden by its access permissions.
# run this in an Administrator PowerShell session
reg add HKLM\SYSTEM\CurrentControlSet\Services\hns\State /v EnableExcludedPortRange /d 0 /f
net stop hns
net start hns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment