deploy nodejs and redis to heroku



  • please help me.
    i have web app using nodejs and redis.
    when i deploy to heroku. i have add-on heroku-redis but my app not working.
    my code :

    var redis = require('redis');
    var redisClient = redis.createClient("redis://h:p4[email protected]ec2-52-21-74-44.compute-1.amazonaws.com:46749");
    

    <p>please give me solution ?</p>


Log in to reply