Redis - Connection Ping Command



Redis PING command is used to check whether the server is running or not.

Return Value

String reply.

Syntax

Following is the basic syntax of Redis PING command.

redis 127.0.0.1:6379> PING

Example

redis 127.0.0.1:6379> PING 
PONG 
redis_connection.htm
Advertisements