当前位置:网站首页>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
边栏推荐
- How many times is PTA 1101 B than a
- 【牛客网刷题系列 之 Verilog进阶挑战】~ 多bit MUX同步器
- Hutool - lightweight DB operation solution
- Golang client server login
- LeetCode1051(C#)
- How much does it cost to develop a small program mall?
- App capture of charles+postern
- 高温火烧浑不怕,钟薛高想留清白在人间
- How to choose the appropriate automated testing tools?
- 网易云信参与中国信通院《实时音视频服务(RTC)基础能力要求及评估方法》标准编制...
猜你喜欢

多个kubernetes集群如何实现共享同一个存储

Multimodal point cloud fusion and visual location based on image and laser

數據驗證框架 Apache BVal 再使用

Review of network attack and defense

Numpy——2.数组的形状

微信网页调试8.0.19换掉X5内核,改用xweb,所以x5调试方式已经不能用了,现在有了解决方案

博睿数据入选《2022爱分析 · IT运维厂商全景报告》

杰理之手动配对方式【篇】

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

5billion, another master fund was born in Fujian
随机推荐
杰理之测试盒配置声道【篇】
Continuous test (CT) practical experience sharing
[mime notes]
L1-019 who falls first (Lua)
LeetCode 515(C#)
Embedded interview questions (algorithm part)
The moveposition function of rigidbody2d of unity2d solves the problem of people or screen jitter when moving
如何给“不卖笔”的晨光估值?
[Base64 notes] [suggestions collection]
Desci: is decentralized science the new trend of Web3.0?
Learn open62541 -- [67] add custom enum and display name
手把手教姐姐写消息队列
2022-07-04 matlab读取视频帧并保存
杰理之关于 TWS 声道配置【篇】
Scientists have observed for the first time that the "electron vortex" helps to design more efficient electronic products
【MIME笔记】
Version 2.0 of tapdata, the open source live data platform, has been released
Flipping Game(枚举)
Cadre de validation des données Apache bval réutilisé
POJ 2392 Space Elevator