当前位置:网站首页>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
边栏推荐
- 我感觉被骗了,微信内测 “大小号” 功能,同一手机号可注册两个微信
- 炒股如何开户?请问一下手机开户股票开户安全吗?
- I feel cheated. Wechat tests the function of "size number" internally, and two wechat can be registered with the same mobile number
- 杰理之关于 TWS 声道配置【篇】
- 反爬虫的重点:识别爬虫
- A hodgepodge of ICER knowledge points (attached with a large number of topics, which are constantly being updated)
- 杰理之手动配对方式【篇】
- Where does brain hole come from? New research from the University of California: creative people's neural connections will "take shortcuts"
- App capture of charles+postern
- Reuse of data validation framework Apache bval
猜你喜欢

10 schemes to ensure interface data security

杰理之发起对耳配对、回连、开启可发现、可连接的轮循函数【篇】

Seize Jay Chou

How to share the same storage among multiple kubernetes clusters

如何给“不卖笔”的晨光估值?

Redis cluster and expansion

网易云信参与中国信通院《实时音视频服务(RTC)基础能力要求及评估方法》标准编制...

二叉树的基本概念和性质

Former richest man, addicted to farming

Borui data was selected in the 2022 love analysis - Panoramic report of it operation and maintenance manufacturers
随机推荐
杰理之关于 TWS 声道配置【篇】
如何给“不卖笔”的晨光估值?
Numpy——axis
Complete e-commerce system
抢占周杰伦
Numpy——2. Shape of array
2022.07.02
Multimodal point cloud fusion and visual location based on image and laser
杰理之关于 TWS 配对方式配置【篇】
5billion, another master fund was born in Fujian
Review of network attack and defense
CMD command enters MySQL times service name or command error (fool teaching)
数据验证框架 Apache BVal 再使用
POJ 2392 Space Elevator
Longest common prefix (leetcode question 14)
3. About cookies
Hongmeng smart home [1.0]
String - string (Lua)
Scientists have observed for the first time that the "electron vortex" helps to design more efficient electronic products
Experiment 1 of Compilation Principle: automatic implementation of lexical analyzer (Lex lexical analysis)