Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED

后端 未结 17 2127
时光说笑
时光说笑 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:52

    I think maybe you installed redis by source code.If that you need locate to redis-source-code-path/utils and run sudo install_server.sh command. After that, make sure redis-server has been running as a service for your system sudo service redis-server status

    PS: based on Debian/Ubuntu

提交回复
热议问题