当前位置:网站首页>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
边栏推荐
- 杰理之测试盒配置声道【篇】
- 咋吃都不胖的朋友,Nature告诉你原因:是基因突变了
- Classification and application of enterprise MES Manufacturing Execution System
- 2022.07.05
- PTA 1102 teaching Super Champion volume
- Borui data was selected in the 2022 love analysis - Panoramic report of it operation and maintenance manufacturers
- 二叉树的基本概念和性质
- 杰理之关于 TWS 交叉配对的配置【篇】
- 杰理之关于 TWS 配对方式配置【篇】
- 如何给“不卖笔”的晨光估值?
猜你喜欢
![[Blue Bridge Cup training 100 questions] sort scratch from small to large. Blue Bridge Cup scratch competition special prediction programming question centralized training simulation exercise question](/img/08/5f4b4e2700606554516807c01454fd.png)
[Blue Bridge Cup training 100 questions] sort scratch from small to large. Blue Bridge Cup scratch competition special prediction programming question centralized training simulation exercise question

Scientists have observed for the first time that the "electron vortex" helps to design more efficient electronic products

二叉树的基本概念和性质

Reuse of data validation framework Apache bval

Zhong Xuegao wants to remain innocent in the world

SlashData开发者工具榜首等你而定!!!

RISCV64

基于图像和激光的多模态点云融合与视觉定位
![[tpm2.0 principle and Application guide] Chapter 16, 17 and 18](/img/7a/b16549590e6445d9199c8000d47d36.png)
[tpm2.0 principle and Application guide] Chapter 16, 17 and 18

A hodgepodge of ICER knowledge points (attached with a large number of topics, which are constantly being updated)
随机推荐
In 2021, the national average salary was released. Have you reached the standard?
Draw squares with Obama (Lua)
[tpm2.0 principle and Application guide] Chapter 16, 17 and 18
多个kubernetes集群如何实现共享同一个存储
testing and SQA_ Dynamic white box test [easy to understand]
Experiment 1 of Compilation Principle: automatic implementation of lexical analyzer (Lex lexical analysis)
解决远程rviz报错问题
AI writes a poem
Seize Jay Chou
Learn open62541 -- [67] add custom enum and display name
炒股如何开户?请问一下手机开户股票开户安全吗?
6. About JWT
2022上半年朋友圈都在传的10本书,找到了
For friends who are not fat at all, nature tells you the reason: it is a genetic mutation
企业MES制造执行系统的分类与应用
L1-025 positive integer a+b (Lua)
国内首次!这家中国企业的语言AI实力被公认全球No.2!仅次于谷歌
[information security laws and regulations] review
超分辨率技术在实时音视频领域的研究与实践
Teach your sister to write the message queue hand in hand