当前位置:网站首页>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
边栏推荐
猜你喜欢
Jerry's headphones with the same channel are not allowed to pair [article]
10 schemes to ensure interface data security
PV static creation and dynamic creation
Chief technology officer of Pasqual: analog quantum computing takes the lead in bringing quantum advantages to industry
Redis cluster and expansion
[tpm2.0 principle and Application guide] Chapter 9, 10 and 11
In the first half of 2022, I found 10 books that have been passed around by my circle of friends
Learn open62541 -- [67] add custom enum and display name
Version 2.0 of tapdata, the open source live data platform, has been released
Complete e-commerce system
随机推荐
前首富,沉迷种田
博睿数据入选《2022爱分析 · IT运维厂商全景报告》
Teach your sister to write the message queue hand in hand
Creative changes brought about by the yuan universe
L1-025 positive integer a+b (Lua)
Redis cluster and expansion
Golang client server login
如何给“不卖笔”的晨光估值?
SD_ DATA_ SEND_ SHIFT_ REGISTER
企业MES制造执行系统的分类与应用
Seize Jay Chou
unity2d的Rigidbody2D的MovePosition函数移动时人物或屏幕抖动问题解决
L1-019 who falls first (Lua)
[information security laws and regulations] review
超分辨率技术在实时音视频领域的研究与实践
咋吃都不胖的朋友,Nature告诉你原因:是基因突变了
10 schemes to ensure interface data security
Number - number (Lua)
"Decryption" Huawei machine vision Corps: Huawei is moving up and the industry is moving forward
杰理之开机自动配对【篇】