Windows:netstat -ano | findstr 6379 Linux:netstat -npl |grep 6379 安装netstat: yum -y install net-tools