redis check connection status in windows code example Example: check redis server status redis-cli ping