報錯:
Unit redis.service could not be found.
Could not connect to Redis at 127.0.0.1:6379: Connection refused
解決方法:
檢查狀態、有必要的話 重新安裝
Linux 上查看狀態
systemctl status redis
顯示以下內容,代表正常服務
出現下面信息,不放重新安裝
$ systemctl status redis
Unit redis.service could not be found.
2025-03-18(二)