Skip to content

Instantly share code, notes, and snippets.

@kiransubash
Created March 15, 2022 05:02
Show Gist options
  • Save kiransubash/8001f773f48798754503b3f3ca489585 to your computer and use it in GitHub Desktop.
Save kiransubash/8001f773f48798754503b3f3ca489585 to your computer and use it in GitHub Desktop.
Reset WSL2 networking on windows 10

Open Powershell or Cmd as Administrator and run the following commands

wsl --shutdown
netsh winsock reset
netsh int ip reset all
netsh winhttp reset proxy
ipconfig /flushdns

Run the command from windows run prompt

network reset

Reboot windows

Restart windows

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