[英]redis is running but I'm getting “Error 111 connecting to localhost:6379. Connection refused”
I 'm using django + redis + celery. 我正在使用django + redis +芹菜。 It works: tasks are queued and executed. 它的工作原理是:任务排队并执行。 But every now and then I get a bunch of errors saying 但是我时不时会发现一堆错误
Cannot connect to redis://localhost:6379//: Error 111 connecting to localhost:6379. 无法连接到redis:// localhost:6379 //:错误111连接到localhost:6379。 Connection refused 拒绝连接
If I check the uptime of my redis-server
process, I see it has been up from before the errors started, so it never crashed or anything. 如果我检查我的redis-server
进程的正常运行时间,我发现它已经从错误开始之前就开始了,所以它从未崩溃或任何事情。
Any idea what's going on? 知道发生了什么事吗? what can I check to see what's happening? 我该怎么检查才能看到发生了什么?
Thanks! 谢谢!
安装redis服务器并重试:
sudo apt-get install redis-server
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.