Couldn't start Redis

I am using Ray on Windows and ray.init() fails for unknown reason.
How should I fix it up?

Can you check the log files under \Users…\AppData…\logs\redis.{out,err}, and see why Redis cannot start?

Mostly it is because the Redis is already taking the port 6379 (many times, it is because Redis wasn’t cleaned up from the previous for unknown reasons). Can you try calling ray stop --force and try again?