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.