generalmean

Understand the default Redis configuration

By default, the Redis server is configured to run on the default port 6379. You can connect to the server locally or remotely using the redis-cli command line tool Replace the YOURPASSWORD placeholder with the value of your password.

$ redis-cli -h SERVER-IP -a YOURPASSWORD

The Redis server is configured following the security guidelines from the official Redis documentation. Although you use a password to connect to the server, it is strongly recommended to change your firewall policies to only accept connections from the IP address that you are using to connect to the Redis server.

Redis version

In order to check which Redis version your machine is running, execute the following command from the console:

$ redis-server -v

Redis configuration file

The Redis configuration file is located at /opt/bitnami/redis/etc/redis.conf.

Redis port

The default port on which Redis listens is 6379.

Redis log file

The Redis log file is created at /opt/bitnami/redis/var/log/redis-server.log.

Last modification December 21, 2022