Cannot connect to `redis-server` running in wsl2 using `ioredis` package due to ECONNREFUSED error
I'm am running my redis-server by building redis in my wsl2 Ubuntu distro. But unfortunately, I'm not able to connect to it using the ioredis package. Here is my code (It's the same code that ioredis provided):- const Redis =…