how to check if redis server is running code example Example 1: check redis server status redis-cli ping Example 2: check that redis is running $ redis-cli ping PONG