Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while connecting to Redis cache server

I am trying to connect to Redis cache server which is running on my machine (Windows 7). Whenever I start my client to put some keys into it, I get error as

"Could not connect to Redis at 127.0.0.1:6379: setsockopt(TCP_NODELAY): Unknown error."

My client application is in .net.

Can anybody help?

like image 433
Omkar Avatar asked Apr 25 '26 07:04

Omkar


2 Answers

Did you try to run the redis-service.exe.
I tried this and my redis is working fine now.

like image 145
Irrfan23 Avatar answered Apr 26 '26 21:04

Irrfan23


Solution 1:

Check the redis server whether its running or not in services. If it is not running, run the server.

Solution 2

Run the following commands in command prompt

  1. SET PATH=%PATH%;”c:\Program Files\redis”
  2. redis-server.exe
like image 40
Balamurugan Avatar answered Apr 26 '26 21:04

Balamurugan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!