Wednesday, 9 March 2022

Change redis default port

 https://stackoverflow.com/questions/27895165/how-to-start-redis-server-on-a-different-port-than-the-default-port-6379-in-ubun

  1. Locate your redis.conf file (it will probably be at /etc/redis/6379.conf).
  2. Copy the file or edit that one and change the port directive to any free port.
  3. Start Redis with the new config file (note that if you've copied the file in the previous step, you'll need to change the service's startup script to use that file).

No comments:

Post a Comment