Redis-cli超时

时间:2018-11-12 08:18:46

标签: redis

我已经完成了操作系统升级(Ubuntu),当我输入redis-cli时,下面是我得到的信息:

09:25 ~ [server]$ redis-cli 
Could not connect to Redis at 127.0.0.1:6379: Connection timed out not connected> 
09:41 ~ [server]$ redis-cli 
Could not connect to Redis at 127.0.0.1:6379: Connection timed out not connected> 
09:43 ~ [server]$ redis-cli 
Could not connect to Redis at 127.0.0.1:6379: Connection timed out not connected> 

但是redis-server已启动并正在监听端口6379

tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      29619/redis-server 

,我有Redis server v=3.0.7。我试图查看日志,但没有异常。没有任何指示导致超时的迹象。没有提示。

0 个答案:

没有答案