Error running browser: connect ECONNREFUSED 127.0.0.1:41613
See original GitHub issueDescribe the bug In wsl 2 I am unable to connect to my browser. When installing with a fresh and fresh launch.json system it works fine but after “userDataDir” was set it boots up once then after reboot I cant connect
To Reproduce Steps to reproduce the behavior:
- Freshly installed vs-code-insiders 1.54 (Same bug with stable version)
- Install the WSL2 extensions for vs-code when prompted
- Create a default launch “pwa-chrome”. Make sure you running in vs-code remote WSL:ubuntu
- Testing it works fine
- set the “userDataDir” so that you can install vue-devtools and have it stick between reboots.
- Reboot
-Error
Error running browser: connect ECONNREFUSED 127.0.0.1:41613
- Removing userDataDir does not fix the bug
- Restarting vs-code or creating a new launch config doesnt fix it
Log File vscode-debugadapter-57b9e7fa.json.gz
VS Code Version: 1.53.2
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:10 (3 by maintainers)
Top Results From Across the Web
VSCode Chrome Debgugger Extension: Error - Stack Overflow
I had this the Chrome Debug extension working in VSCode using Attach mode but suddenly was experiencing this error.
Read more >Client-side debugging with javascript is throwing ...
when I enable client - side debugging and try to launch my asp.net mvc 5 app the vs on either browser Edge, Chrome...
Read more >Having some issues with Edge. Would like to ask a couple ...
Upon choosing a random windows, debugging fails with error message "Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:9222" Why ...
Read more >I am returning an error after I create "const driver = new ...
Hi everyone, I am running into a problem within my node repl on MacOS where it throws back an ECONNREFUSED with the specified...
Read more >Error: connect ECONNREFUSED 127.0.0.1:443 - Postman
I got the following error: Error: connect ECONNREFUSED 127.0.0.1:443 ... signed certificate using any installed browser (Chrome, Firefox even…
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got bitten by this, @connor4312 could you please re-open? Same issue with the exception that i did not fiddle with userDataDir. my config:
i tried @mellester fix but it doesn’t work for me. re-installing vscode, wsl2, using insiders, using stable, nothing works Chrome opens for 3 seconds, then it closes on me, and i get the:
Error running browser: connect ECONNREFUSED 127.0.0.1:53876
I just ran out of things to try, and i need to work 😦Hello, I had the same issues as everyone here and I was on Ubuntu 20.04 for the WSL. I changed to Ubuntu 20.04.3 LTS and it worked without any problem.