Connect to Redis from a different machine
IMPORTANT: Making this application’s network ports public is a significant security risk. You are strongly advised to only allow access to those ports from trusted networks. If, for development purposes, you need to access from outside of a trusted network, please do not allow access to those ports via a public IP address. Instead, use a secure channel such as a VPN or an SSH tunnel. Follow these instructions to remotely connect safely and reliably.
To connect to Redis from a different machine, you must open port 6379 for remote access. Refer to the FAQ for more information on this.
You can now connect to Redis using a command like the one below. Replace the YOURPASSWORD placeholder with the value of your password:
$ redis-cli -h SERVER-IP -a YOURPASSWORD