You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consttunnelConnection=newPromise<void>((resolve,reject)=>{constdoConnect=()=>tunnelSocket.connect(tunnelPort,'localhost',()=>resolve());tunnelSocket.on('data',data=>{
... // Do something});tunnelSocket.on('end',()=>{
... // Do somethingresolve();});tunnelSocket.on('error',err=>{if(err){console.log(`Error: ${err.message}`);}
... // Do somethingreject();});doConnect();});
Run the extensions, so that the UI extension runs locally, and the workspace extension runs in WSL. Notice that error messages like Error: connect ECONNREFUSED 127.0.0.1:46871 are shown in the console.
A side question: This does NOT repro for docker containers or codespaces. But I wonder if there's a better way to do raw TCP communication between host and WSL?
The text was updated successfully, but these errors were encountered:
This is by design. We do not support port forwarding with a WSL connection. Someone else just made a feature request to support port forwarding with WSL: microsoft/vscode-remote-release#8621
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
tunnels
is required):Error: connect ECONNREFUSED 127.0.0.1:46871
are shown in the console.A side question: This does NOT repro for docker containers or codespaces. But I wonder if there's a better way to do raw TCP communication between host and WSL?
The text was updated successfully, but these errors were encountered: