public static void main (String [] args) {
Jedis Jedis=new Jedis (" 127.0.0.1 ", 6379);
System. The out. Println (jedis. Ping ());
}
under Caused by: java.net.SocketTimeoutException: Connect timed out
public static void main (String [] args) {
Jedis Jedis=new Jedis (" 127.0.0.1 ", 6379);
System. The out. Println (jedis. Ping ());
}
under Caused by: java.net.SocketTimeoutException: Connect timed out