Redis is key-value type storage that saves the data into the memory.

But on which port redis runs when a user starts a redis service?

By default, a redis runs on port 6379.

Users can type the GET PORT command to check the port on which redis is running

> CONFIG GET PORT 1) "PORT" 2) "6379"

User can also verify the port in the redis.config file

/etc/redis.conf

A user can also change the redis to run on a different port by typing

> CONFIG SET port 6479 OK

Another option is modifying the port number redis.config file.