Skip to content

Instantly share code, notes, and snippets.

@mattbell87
Last active July 14, 2022 23:48
Show Gist options
  • Save mattbell87/63f2771b5432c10179530eb9d7a1ffe4 to your computer and use it in GitHub Desktop.
Save mattbell87/63f2771b5432c10179530eb9d7a1ffe4 to your computer and use it in GitHub Desktop.
When windows wont give you a port

Sometimes Windows wont let you open a port and there is no process using that port. Usually this is due to WinNat, you just need to restart it.

Open an administrator prompt (powershell/cmd) and:

net stop winnat
net start winnat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment