I’m using Redis To Go in combination with the https://github.com/mranney/node_redis library. Redis gives me a url that looks like redis://me:978287c0b670694673d045f08b2e0371@icefish.redistogo.com:9393 but I don’t know how to use it as createClient() only takes the host and the port.
I’m using Redis To Go in combination with the https://github.com/mranney/node_redis library. Redis gives me
Share
I believe that the scheme for the URL you have is:
redis://username:password@host:port.I don’t believe
usernameis used.node_redisprovides two methods that you’ll use to log in:createClientandauth. There are details in the readme, but for reference here is the relevant portion: