无法在127.0.0.1:6379连接到Redis:使用自制程序拒绝连接 [英] Could not connect to Redis at 127.0.0.1:6379: Connection refused with homebrew

查看:1187
本文介绍了无法在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和Homebrew版本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后,从terminal键入:

redis-server

然后Redis-Server将启动

And Redis-Server will be started

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

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