Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED

后端 未结 17 1969
时光说笑
时光说笑 2020-12-12 15:34

I working with node.js by expressjs
I try to store an account to session. So, i try to test to use session with code in expressjs

var RedisStore = requ         


        
17条回答
  •  时光说笑
    2020-12-12 15:46

    I'm on MBP , and install redis detail my problem was resolved .Fixed the Download, extract and compile Redis with:

    $ wget http://download.redis.io/releases/redis-3.0.2.tar.gz
    
    $ tar xzf redis-3.0.2.tar.gz
    
    $ cd redis-3.0.2
    
    $ make
    

    The binaries that are now compiled are available in the src directory.

    Run Redis with:

    $ src/redis-server 
    

提交回复
热议问题