当前位置:网站首页>Unable to link the remote redis server (solution 100%
Unable to link the remote redis server (solution 100%
2022-07-07 19:20:00 【Poetic elegance】
List of articles
Question why
redis Remote connection to server failed ,
Check online bind 127.0.0.1
Changed ,protected-mode
Protection mode is also turned off ,daemonize yes
Daemon mode is also turned off
But still not ? For some people, the above half points can be solved, but some students need to Firewall OFF
( A firewall is a firewall that can take you Redis This port of is exposed , Let others visit , If you close it, no one else can get in , Why? , Because it has no key , You don't open the door , Unless it is Tu xingsun
) So summarize the solution , Not yet. Please leave a message and help you solve it
Solution
1. modify bind
Indicates that only local access is allowed , Unable to connect remotely
bind 0.0.0.0
2. Change protection mode yes For the beginning no To close
protected-mode close yes Protected mode , Only local links are allowed
no Protection mode is off
protected-mode no
3. Daemon mode on
daemonize yes Change it to daemonize noyes: On behalf of the open daemons mode . This is the single process multithreading mode ,redis Will run in the background .
no: The current interface will enter redis Command line interface ,exit Forced exit or closing the connection tool will lead to redis Process exits
daemonize no
4. Turn off firewall
systemctl stop firewalld.service
Permanent opening self prohibition
systemctl disable firewalld.service
restart redis
systemctl restart redis.service
See here , If you can't solve it, please leave a message
边栏推荐
- 2022.07.04
- 3.关于cookie
- 【MIME笔记】
- Creative changes brought about by the yuan universe
- 2022.07.04
- Short selling, overprinting and stock keeping, Oriental selection actually sold 2.66 million books in Tiktok in one month
- 网易云信参与中国信通院《实时音视频服务(RTC)基础能力要求及评估方法》标准编制...
- testing and SQA_动态白盒測试[通俗易懂]
- 手把手教姐姐写消息队列
- 企业MES制造执行系统的分类与应用
猜你喜欢
PV static creation and dynamic creation
RISCV64
Borui data was selected in the 2022 love analysis - Panoramic report of it operation and maintenance manufacturers
In the first half of 2022, I found 10 books that have been passed around by my circle of friends
杰理之相同声道的耳机不允许配对【篇】
SD_ DATA_ RECEIVE_ SHIFT_ REGISTER
基于图像和激光的多模态点云融合与视觉定位
如何选择合适的自动化测试工具?
cmd命令进入MySQL时报服务名或者命令错误(傻瓜式教学)
3. About cookies
随机推荐
2022.07.02
L1-025 positive integer a+b (Lua)
杰理之发起对耳配对、回连、开启可发现、可连接的轮循函数【篇】
2022.07.04
10 schemes to ensure interface data security
How much does it cost to develop a small program mall?
Teach your sister to write the message queue hand in hand
L1-023 output gplt (Lua)
648. 单词替换
Where does brain hole come from? New research from the University of California: creative people's neural connections will "take shortcuts"
DeSci:去中心化科学是Web3.0的新趋势?
解决rosdep的报错问题
How many are there (Lua)
最长公共前缀(leetcode题14)
RISCV64
嵌入式面试题(算法部分)
我感觉被骗了,微信内测 “大小号” 功能,同一手机号可注册两个微信
Numpy——axis
Hutool - lightweight DB operation solution
Research and practice of super-resolution technology in the field of real-time audio and video