In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how redis server allows remote host access, has a certain reference value, interested friends can refer to, I hope you read this article after a great harvest, the following let Xiaobian take you to understand.
If the remote host needs to access the redis server, you can modify the redis.conf configuration file
The bind field defaults to bind 127.0.0.1, so that only the local machine can access redis.
To allow remote host access, comment out the bind line or change bind 127.0.0.1 to bind 0.0.0.0
Verify access to redis server on remote host:
./ redis-cli -h REDIS_HOST_IP_ADDR -p 6379REDIS_HOST_IP_ADDR : 6379> pingPONG
That is, successful access to redis server!
Thank you for reading this article carefully. I hope that the article "How redis server allows remote host access" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support it a lot and pay attention to the industry information channel. More relevant knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.