Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused (Connection refused)
at com.redis.IO$class.connect(IO.scala:39) ~[redisclient_2.10-2.10.jar:2.10]
at com.redis.RedisClient.connect(RedisClient.scala:60) ~[redisclient_2.10-2.10.jar:2.10]
at com.redis.RedisClient.(RedisClient.scala:63) ~[redisclient_2.10-2.10.jar:2.10]
at models.RedisConnection$class.$init$(RedisModel.scala:7) ~[classes/:na]
at models.User$.(User.scala:5) ~[classes/:na]
at models.User$.(User.scala) ~[classes/:na]
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_111]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_111]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_111]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_111]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_111]
at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_111]
am I missing any redis setup? I have never used Play Framework or Redis before..
I also tried several method of importing redist to play framework found on the internet, but none are working because the play version is different (2.2.1)
I encountered exception when creating user:
Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused (Connection refused) at com.redis.IO$class.connect(IO.scala:39) ~[redisclient_2.10-2.10.jar:2.10] at com.redis.RedisClient.connect(RedisClient.scala:60) ~[redisclient_2.10-2.10.jar:2.10] at com.redis.RedisClient.(RedisClient.scala:63) ~[redisclient_2.10-2.10.jar:2.10]
at models.RedisConnection$class.$init$(RedisModel.scala:7) ~[classes/:na]
at models.User$.(User.scala:5) ~[classes/:na]
at models.User$.(User.scala) ~[classes/:na]
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_111]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_111]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_111]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_111]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_111]
at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_111]
am I missing any redis setup? I have never used Play Framework or Redis before..
I also tried several method of importing redist to play framework found on the internet, but none are working because the play version is different (2.2.1)