日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學(xué)無先后,達(dá)者為師

網(wǎng)站首頁 編程語言 正文

關(guān)于redis客戶端連接不上

作者:Terence Wang 更新時間: 2022-04-05 編程語言

鏈接服務(wù)器的Redis(由于遠(yuǎn)程連接不上,使用服務(wù)器連接,也連接不上產(chǎn)生)

Unable to connect to remote host: Connection refused

連接不上,有可能是服務(wù)沒有對外開放。

1. 修改redis配置:redis.conf.

路徑:C:\develop\Redis-x64-5.0.14\redis.windows.conf

步驟一:注釋掉redis.window.conf文件中的bind屬性設(shè)置

步驟二:把protected-mode屬性設(shè)置no

2. 修改密碼

修改redis.windows.conf配置文件

指定密碼123

# requirepass foobared
requirepass 123

3、重啟redis

redis-server.exe redis.windows.conf

?

原文鏈接:https://blog.csdn.net/qq_39997939/article/details/122790134

欄目分類
最近更新