How to start Redis with specific hostname

前端 未结 0 1361
盖世英雄少女心
盖世英雄少女心 2021-02-02 00:56

My node app has this config:

const client = redis.createClient({ host: \'cache\' });

When I launch it I get this error:

Error: get         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题