- Locate your redis. conf file (it will probably be at /etc/redis/6379. ...
- Copy the file or edit that one and change the port directive to any free port.
- 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).
Is Redis a TCP or UDP?
By default, the Redis server runs on TCP Port 6379.
What is Redis URL?
The URI::redis class supports URI objects belonging to the redis and redis+unix URI scheme. Such URLs are used to encode connection info ( redis : host, port, password, database, redis+unix : socket path, password, database) to Redis servers. ... The port defaults to 6379 and the host defaults to "localhost".Jan 23, 2016
What is the default Redis URL?
By default redis-cli connects to the server at 127.0. 0.1 port 6379.