I'm trying the Jedis (Redis for Java) "Basic usage example" from https://github.com/xetorthio/jedis/wiki/Getting-started but I'm getting the following error:
Exception in thread "main" redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
at redis.clients.util.Pool.getResource(Pool.java:42)
Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused
I'm trying this on OSX 10.9.2 with Jedis-2.4.2, commons-pool2-2.0