No connection could be made because the target machine actively refused it. [tcp://127.0.0.1:6379] in laravel 4.My code is:
$redis = Redis::connection();
$redis->set('name', 'Taylor');
$name = $redis->get('name');
$values = $redis->lrange('names', 5, 10);
After Installing redis server(you can download it form redis) you should simply run file redis-server.exe
often located in C:\Program Files\Redis\
and refresh your page!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With