Linux-Redis访问问题
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
开启项目需要开启redis-server redis.conf
否则项目jedis异常
connection time out 或者 Connection refused: connect
1.关闭防火墙
防火墙修改
/sbin/iptables -I INPUT -p tcp --dport 6379 -j ACCEPT//添加6379到忽略列表中
/etc/rc.d/init.d/iptables save 或 /usr/sbin/iptables-save 保存规则(具体命令根据服务器本身而定)
多次重启redis无效重新启动linux系统或者云服务器,若还是无效可暂时关闭防火墙
//如果要关闭防火墙 ,不推荐关闭
service iptables stop 临时关闭防火墙直到手动启动或者是重启电脑
chkconfig iptables off 永久关闭防火墙
2.修改redis.conf
注释 bind 127.0.0.1
protected-mode no
requirepass 123456
3.重启redis




A beautiful web dashboard for Linux
最近提交(Master分支:18 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)