連接遠程redis

主要是有兩步,都是需要修改redis.conf配置文件 第一步:修改redis.conf中的bind地址,默認是#bind 127.0.0.1,就是隻能本地登錄,我們可以將其改成bind 0.0.0.0(注意去掉前面的#號) # By default Redis listens for connections from all the network interfaces # available
相關文章
相關標籤/搜索