Linux – Redis runs at 6379 and even the conf file is changed to 7000

Redis runs at 6379 and even the conf file is changed to 7000… here is a solution to the problem.

Redis runs at 6379 and even the conf file is changed to 7000

I’m following these steps to install redis:in Linux Centos

mkdir /redis/
cd /redis
wget http://redis.googlecode.com/files/redis-2.6.14.tar.gz
extracted it using tar -xzf redis-2.6.14.tar.gz
make && make install PREFIX=/redis/
Changed the port in redis.conf(/redis/redis.conf) to 7000
Changed the port redis_init_script(/redis/utils/redis_init_script) to 7000
Then issued the command /redis/bin/redis-server

Now, I

see this when I give the command,

It says 6379.

🙁

Solution

You haven’t told it which profile to use, so you’ll start the server with all the defaults. Try it:

/redis/bin/redis-server /redis/redis.conf

Related Problems and Solutions