Skip to content

Commit

Permalink
add to troubleshooting (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakai135 authored Feb 7, 2022
1 parent 7ecebc4 commit 0d58c6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ sudo ./wsl-vpnkit

If VS Code takes a long time to open your folder in WSL, [enable the setting "Connect Through Localhost"](https://github.com/microsoft/vscode-docs/blob/main/remote-release-notes/v1_54.md#fix-for-wsl-2-connection-issues-when-behind-a-proxy).

### Cannot connect to WSL 2 VM IP while connected to VPN

This is due to the VPN blocking connections to the WSL 2 VM network interface. Ports on the WSL 2 VM are accessible from the Windows host using `localhost`.

For this and other networking considerations when using WSL 2, see [Accessing network applications with WSL](https://docs.microsoft.com/en-us/windows/wsl/networking).

### Try shutting down WSL 2 VM to reset

```pwsh
Expand Down

0 comments on commit 0d58c6b

Please sign in to comment.