无法在 127.0.0.1:6379 连接到 Redis:连接被自制软件拒绝 [英] Could not connect to Redis at 127.0.0.1:6379: Connection refused with homebrew

查看:47
本文介绍了无法在 127.0.0.1:6379 连接到 Redis:连接被自制软件拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用自制软件安装 Redis 但当我尝试 ping Redis 时显示此错误:

Using homebrew to install Redis but when I try to ping Redis it shows this error:

Could not connect to Redis at 127.0.0.1:6379: Connection refused

注意:我试图关闭防火墙并编辑 conf 文件,但仍然无法 ping.我使用的是 macOS Sierra 和自制软件版本 1.1.11

Note : I tried to turn off firewall and edit conf file but still cannot ping. I am using macOS Sierra and homebrew version 1.1.11

推荐答案

安装redis后,从终端输入:

redis-server

Redis-Server 将启动

And Redis-Server will be started

这篇关于无法在 127.0.0.1:6379 连接到 Redis:连接被自制软件拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆