当前位置:网站首页>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
边栏推荐
- What software can be used to solve the problems faced by the auto parts industry
- 字符串的逆序与比较
- MySQL parsing serialized fields
- [complete information static game characteristics of Nash equilibrium]
- About redis encapsulation tool class using distributed locks
- ERP basic data Huaxia
- Verify the word limit of textarea input box. Only prompt but no submission limit
- How about a well-known food material distribution information management system?
- How to install the bdtab (BD) new tab plug-in in edge browser (Graphic tutorial)
- Determination of ranking
猜你喜欢
Using KVM to create three virtual machines that can communicate with local area network
ERP basic data concept
Penetration problem (main directory, password explosion, database uploading Trojan horse)
Edge浏览器使用BdTab新标签页插件(BD新标签页)
Edge浏览器如何安装BdTab(BD)新标签页插件(图文教程)
Buuctf web (VII)
微服务系统架构搭建一:环境搭建
BD新标签页(BdTab)插件如何登入?
Import the robot model built by SolidWorks into ROS
The method of SolidWorks modifying text font in engineering drawing
随机推荐
About redis encapsulation tool class using distributed locks
How to dynamically delete data rows in a table through JS (keep the head)
Using KVM to create three virtual machines that can communicate with local area network
How about a well-known food material distribution information management system?
ERP基础数据 华夏
ERP basic data Huaxia
Overview of cross chain protocol IBC
Cosmos star application case
How to modify desktop path in win10 system
Shell脚本常用开发规范
母婴用品批发行业使用管理软件提高效率 实现降本增效
AcWing 1977. Information relay (base ring tree, parallel search set)
Overall process analysis of account book operation in fabric0.6
[virt manager] remote management the problem of the floating mouse when starting the virtual machine
如何通过JS动态删除table中的数据行(保留head)
Several precise order receiving methods suitable for fresh food wholesale industry
Structural analysis of hyperledger fabric (I)
File upload question type
Penetration problem (main directory, password explosion, database uploading Trojan horse)
PHP PNG to webp