Connection refused
#0 /var/www/html/app_login/app/config/services.php(178): Redis->connect('172.31.28.35')
#1 [internal function]: Closure->{closure}()
#2 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#3 [internal function]: Phalcon\Di->get('redis', NULL)
#4 [internal function]: Phalcon\Di->getShared('redis')
#5 /var/www/html/app_login/app/controllers/IndexController.php(93): Phalcon\Di\Injectable->__get('redis')
#6 [internal function]: IndexController->indexAction()
#7 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(IndexController), 'indexAction', Array)
#8 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#9 /var/www/html/app_login/public/index.php(50): Phalcon\Mvc\Application->handle('/')
#10 {main}