redis设置远程访问
时间: 2023-09-11 07:03:48 浏览: 95
redis服务器允许远程主机访问的方法
在Redis中设置远程访问的步骤如下:
1. 打开Redis配置文件redis.conf。
2. 找到并注释掉bind属性,默认值是127.0.0.1,这样只允许本机访问。如果你想允许所有人访问,可以不进行任何修改。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [如何远程链接redis](https://blog.csdn.net/yyhzzzzzz/article/details/123768637)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [redis设置远程连接](https://blog.csdn.net/qq_16525829/article/details/124596361)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文