lirantal / is-website-vulnerable

finds publicly known security vulnerabilities in a website's frontend JavaScript libraries
Apache License 2.0
1.94k stars 111 forks source link

WSL 2 connect ECONNREFUSED 127.0.0.1:41299 #83

Closed MontoyaAndres closed 3 years ago

MontoyaAndres commented 4 years ago

I just copy and paste the example on the README and tried on WSL 2 Ubuntu and I got this response:

image

Expected Behavior

Get the correct results.

Ryuno-Ki commented 4 years ago

I'm not using Windows (nor WSL). Researching on the web suggested, that wsl --shutdown and reopening the terminal „solved” it for some people (temporarily).

I think I've seen a former colleague using a service (netstat?) to list the ports in use. We're not allowing to pick another port (yet?), but this could give an indicator, whether another service is already listening on that port.

Do you have another Chrome headless running perhaps? Maybe, that one didn't shut down properly …

MontoyaAndres commented 4 years ago

Mmmm I don't know if I have another Chrome headless running 😅

Ryuno-Ki commented 4 years ago

There's a process / task manager in Windows. Does it show processes in WSL, too? For Linux, it would be ps aux | grep chrome, I think.

lirantal commented 3 years ago

Indeed we haven't tested this with WSL. If it has resolved for you @MontoyaAndres let us know.