/etc/init.d/redis-serveredis-cli 进入redis/etc/init.d/redis-server stop /etc/init.d/redis-server start /etc/init.d/redis-server restartkill -9 netstat -an | grep 6379 查看端口状态netstat -anp 查看所有端口状态
时间: 2024-10-11 04:24:12
/etc/init.d/redis-serveredis-cli 进入redis/etc/init.d/redis-server stop /etc/init.d/redis-server start /etc/init.d/redis-server restartkill -9 netstat -an | grep 6379 查看端口状态netstat -anp 查看所有端口状态