Last active
February 8, 2022 19:08
-
-
Save rponte/53407078ceec1fa41dfe0ed7bdb0dc3e to your computer and use it in GitHub Desktop.
WSL2: resetting network (WSL2 DNS issue)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# 1. run theses commands on PowerShell as admin | |
# 2. restart windows | |
## | |
wsl --shutdown | |
netsh winsock reset | |
netsh int ip reset all | |
netsh winhttp reset proxy | |
ipconfig /flushdns | |
netsh winsock reset | |
shutdown /r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment