:(
数据出现异常:Connection refused [tcp://127.0.0.1:6379]
Predis\Connection\ConnectionException: Connection refused [tcp://127.0.0.1:6379]
#0 /home/v3/dlut.com/vendor/predis/predis/src/Connection/StreamConnection.php(128): Predis\Connection\AbstractConnection->onConnectionError('Connection refu...', 111)
#1 /home/v3/dlut.com/vendor/predis/predis/src/Connection/StreamConnection.php(178): Predis\Connection\StreamConnection->createStreamSocket(Object(Predis\Connection\Parameters), 'tcp://127.0.0.1...', 4)
#2 /home/v3/dlut.com/vendor/predis/predis/src/Connection/StreamConnection.php(100): Predis\Connection\StreamConnection->tcpStreamInitializer(Object(Predis\Connection\Parameters))
#3 /home/v3/dlut.com/vendor/predis/predis/src/Connection/AbstractConnection.php(81): Predis\Connection\StreamConnection->createResource()
#4 /home/v3/dlut.com/vendor/predis/predis/src/Connection/StreamConnection.php(258): Predis\Connection\AbstractConnection->connect()
#5 /home/v3/dlut.com/vendor/predis/predis/src/Connection/AbstractConnection.php(180): Predis\Connection\StreamConnection->connect()
#6 /home/v3/dlut.com/vendor/predis/predis/src/Connection/StreamConnection.php(288): Predis\Connection\AbstractConnection->getResource()
#7 /home/v3/dlut.com/vendor/predis/predis/src/Connection/StreamConnection.php(394): Predis\Connection\StreamConnection->write('*4\r\n$5\r\nSETEX\r\n...')
#8 /home/v3/dlut.com/vendor/predis/predis/src/Connection/AbstractConnection.php(110): Predis\Connection\StreamConnection->writeRequest(Object(Predis\Command\StringSetExpire))
#9 /home/v3/dlut.com/vendor/predis/predis/src/Client.php(331): Predis\Connection\AbstractConnection->executeCommand(Object(Predis\Command\StringSetExpire))
#10 /home/v3/dlut.com/vendor/predis/predis/src/Client.php(314): Predis\Client->executeCommand(Object(Predis\Command\StringSetExpire))
#11 /home/v3/dlut.com/app/libs/Redis.php(62): Predis\Client->__call('setex', Array)
#12 /home/v3/dlut.com/app/libs/Session.php(133): app\libs\Redis::setex('sid.TI1rNBvvz60...', 300, Array)
#13 /home/v3/dlut.com/app/service/controller/Code.php(24): app\libs\Session::set('validCode', 'F1TR')
#14 [internal function]: app\service\controller\Code->indexAction()
#15 /home/v3/dlut.com/vendor/wj008/beacon/core/Route.php(635): ReflectionMethod->invokeArgs(Object(app\service\controller\Code), Array)
#16 /home/v3/dlut.com/vendor/wj008/beacon/core/Route.php(748): beacon\Route::runMethod('app\\service\\con...', Object(ReflectionMethod))
#17 /home/v3/dlut.com/www/index.php(82): beacon\Route::run()
#18 {main}