探测端口是否开放 安装 brew install telnet 用redis 测试 连接 telnet 127.0.0.1 6379 认证redis auth 123456 -> +OK keys * -> *0