当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
Uvalive – 4621 CAV greed + analysis "suggestions collection"
2022.07.02
PV static creation and dynamic creation
国内首次!这家中国企业的语言AI实力被公认全球No.2!仅次于谷歌
First time in China! The language AI strength of this Chinese enterprise is recognized as No.2 in the world! Second only to Google
PTA 1102 teaching Super Champion volume
Version 2.0 of tapdata, the open source live data platform, has been released
如何选择合适的自动化测试工具?
Numpy——2. Shape of array
Initial experience of cache and ehcache "suggestions collection"
How to share the same storage among multiple kubernetes clusters
The moveposition function of rigidbody2d of unity2d solves the problem of people or screen jitter when moving
In 2021, the national average salary was released. Have you reached the standard?
企业MES制造执行系统的分类与应用
【牛客网刷题系列 之 Verilog进阶挑战】~ 多bit MUX同步器
Zhong Xuegao wants to remain innocent in the world
初识缓存以及ehcache初体验「建议收藏」
2022上半年朋友圈都在传的10本书,找到了
Number - number (Lua)
杰理之关于 TWS 配对方式配置【篇】









