当前位置:网站首页>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
边栏推荐
- 10 schemes to ensure interface data security
- AI writes a poem
- 反爬虫的重点:识别爬虫
- Uvalive – 4621 CAV greed + analysis "suggestions collection"
- Realize payment function in applet
- 最长公共前缀(leetcode题14)
- Desci: is decentralized science the new trend of Web3.0?
- In 2021, the national average salary was released. Have you reached the standard?
- 完整的电商系统
- 杰理之按键发起配对【篇】
猜你喜欢
Business experience in virtual digital human
杰理之关于 TWS 声道配置【篇】
Multimodal point cloud fusion and visual location based on image and laser
Policy mode - unity
How to share the same storage among multiple kubernetes clusters
Review of network attack and defense
微信网页调试8.0.19换掉X5内核,改用xweb,所以x5调试方式已经不能用了,现在有了解决方案
如何选择合适的自动化测试工具?
Chief technology officer of Pasqual: analog quantum computing takes the lead in bringing quantum advantages to industry
99% of people don't know that privatized deployment is also a permanently free instant messaging software!
随机推荐
Numpy——axis
2022-07-04 matlab reads video frames and saves them
Reuse of data validation framework Apache bval
2022.07.05
超分辨率技术在实时音视频领域的研究与实践
I feel cheated. Wechat tests the function of "size number" internally, and two wechat can be registered with the same mobile number
String - string (Lua)
Initial experience of cache and ehcache "suggestions collection"
Learn open62541 -- [67] add custom enum and display name
Where does brain hole come from? New research from the University of California: creative people's neural connections will "take shortcuts"
Uvalive – 4621 CAV greed + analysis "suggestions collection"
Wechat web debugging 8.0.19 replace the X5 kernel with xweb, so the X5 debugging method can no longer be used. Now there is a solution
2022.07.04
Research and practice of super-resolution technology in the field of real-time audio and video
抢占周杰伦
Experiment 1 of Compilation Principle: automatic implementation of lexical analyzer (Lex lexical analysis)
[Base64 notes] [suggestions collection]
App capture of charles+drony
"Decryption" Huawei machine vision Corps: Huawei is moving up and the industry is moving forward
Tips and tricks of image segmentation summarized from 39 Kabul competitions