I installed redis, I can connect to it, but the benchmarks abort:

**$ redis-cli ping PONG

$ redis-benchmark -q -n 100000 Could not connect to Redis at 127.0.0.1:6379: setsockopt(TCP_NODELAY): Invalid argument

$ redis-benchmark -q -n 100000 PING_INLINE: 30165.91 requests per second Could not connect to Redis at 127.0.0.1:6379: setsockopt(TCP_NODELAY): Invalid argument

$ redis-benchmark -q -n 100000 PING_INLINE: 45454.54 requests per second Could not connect to Redis at 127.0.0.1:6379: setsockopt(TCP_NODELAY): Invalid argument**

This is on Windows 10, on an Ubuntu subsystem, with Redis 4.0.9 (00000000/0) 64 bit.

Comment From: hwware

Hello @miniHive , This is a known issue in WSL, please refer https://github.com/redis/hiredis/issues/785 ..thanks

Comment From: oranagra

thanks @hwware . @miniHive i see the fix in hiredis (https://github.com/redis/hiredis/pull/836) was merged and should probably be in our unstable branch now. please test it to make sure it solves your problem.

Comment From: oranagra

closing since it's already solved in hiredis.