1

I have a redis-server instance running, everything works fine if I try to connect to it via code e.g python. The problem is, redis-cli tool doesn't connect. Here's what I get when I run redis-cli:

Could not connect to Redis at 127.0.0.1:6379: �
not connected>
Could not connect to Redis at 127.0.0.1:6379: (
not connected>

Looking at the response, it's adding some characters after the port, in this case : � and : (

What could be the problem here? I've also tried redis-cli -h 127.0.0.1 -p 6379 but to no avail.

Note: Redis server is working fine.

Wafula Samuel
  • 530
  • 1
  • 8
  • 25

0 Answers0