当前位置:网站首页>redis.exceptions.ConnectionError: Error 111 connecting to 172.16.8.128:6379. Connection refused.
redis.exceptions.ConnectionError: Error 111 connecting to 172.16.8.128:6379. Connection refused.
2022-06-13 08:23:00 【庸了个白】
redis 绑定了127.0.0.1,拒绝远程访问
修改 /etc/redis.conf 文件下的 bind 配置,改成 0.0.0.0,允许所有
修改后重启服务 service redis restart (centos7 请用命令systemctl restart redis.server)
重新连接一下,如果成功,就到这了,如果失败,你有可能遇到下面的问题:
redis.exceptions.ResponseError: NOAUTH Authentication required.
连接的信息里没有设置密码,在相关连接设置里加入 password
边栏推荐
- 字符串的逆序与比较
- MySQL parsing serialized fields
- 钉钉小程序 父子传参数对象 子组件页面不更新?
- PHP isset() method ignores data error handling caused by null parameter value
- CCNP_ Bt- Reissue
- 杨氏矩阵查找数字是否存在
- The method of SolidWorks modifying text font in engineering drawing
- [complete information static game characteristics of Nash equilibrium]
- 淘宝商品销量接口/淘宝商品销量监控接口/商品累计销量接口
- 口碑好的食材配送信息化管理系统怎么样?
猜你喜欢

How app inventor accesses resource files in assets directory

AcWing 1977. Information relay (base ring tree, parallel search set)

Edge浏览器使用BdTab新标签页插件(BD新标签页)

Remote access and control

Dfinity (ICP) identity authentication and ledger quick start-3

HCIP_ OSPF irregular area

【博弈论-完全信息静态博弈】 Nash均衡的应用
![[game theory complete information static game] Application of Nash equilibrium](/img/22/5fd28415cba6ee67878249b4aabb2e.jpg)
[game theory complete information static game] Application of Nash equilibrium

Start from scratch - implement the jpetstore website -1- establish the project framework and project introduction

微服务系统架构搭建一:环境搭建
随机推荐
Mongodb test case
水仙花升级版(自幂数)
名次的确定
Dfinity (ICP) basic development tutorial-5
Format_ String_ Server
Deploy Yum warehouse and NFS shared services
DNS domain name resolution service
HCIP_ MGRE experiment
杨氏矩阵查找数字是否存在
有什么好的管理软件来解决茶叶批发商面临的难题
filebeat采集日志到ELK
CCNP_ Bt- Reissue
Guidance process and service control
ERP基础数据 华夏
ERP basic data concept
JS - simple ATM of the for cycle case
Homestead environment setup
HCIP_ OSPF irregular area
How does the BD new tab plug-in log in?
[virt manager] remote management the problem of the floating mouse when starting the virtual machine