I am trying to configure the ports in Redis database. I have changed the port number to 7778 in the redis.conf
file. This file is in /etc/redis.conf
and I'm using this command
redis-server /etc/redis.conf
And this goes through. I'm able to get through. However if I execute this command
redis-cli
or
redis-cli /etc/redis.conf
I'm getting this error
could not connect to redis at 127.0.0.1:6379:connection refused.
I then tried this command
redis-cli -p 7778
127.0.0.1> ping
(error) NOAUTH authentication required