Skip to content

Instantly share code, notes, and snippets.

@gryan11
Created June 23, 2021 19:16
Show Gist options
  • Save gryan11/1fb8de4ad6c567a96ce8eb4d185a3e89 to your computer and use it in GitHub Desktop.
Save gryan11/1fb8de4ad6c567a96ce8eb4d185a3e89 to your computer and use it in GitHub Desktop.
Fix 'unable to connect' error for wsl2 and jupyter.

Fix connection error for wsl2 and jupyter

This is caused by network bridge for wsl2 getting messed up. Note that shutting down/rebooting may not fix issue. Instead, open powershell and run:

wsl --shutdown

Then reopen wsl2 instance.

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