Connection refused [tcp://127.0.0.1:6379]
https://github.com/gantoday/laravel-blog.git
从上面那个地址克隆一个项目下来,一切都顺利。我在本地设置的虚拟目录。可以访问,但是会报下面这个错误。请问是什么原因造成的?怎么修复?
ConnectionException in AbstractConnection.php line 146:
Connection refused [tcp://127.0.0.1:6379]
in AbstractConnection.php line 146
at AbstractConnection->onConnectionError('Connection refused', '61') in StreamConnection.php line 85
at StreamConnection->tcpStreamInitializer(object(Parameters)) in StreamConnection.php line 56
at StreamConnection->createResource() in AbstractConnection.php line 95
at AbstractConnection->connect() in StreamConnection.php line 142
at StreamConnection->connect() in AbstractConnection.php line 175
at AbstractConnection->getResource() in StreamConnection.php line 168
at StreamConnection->write('*2 $3 GET $48 laravel:a5469cdeba4a4031c966a244820028ff108bf933 ') in StreamConnection.php line 274
at StreamConnection->writeRequest(object(StringGet)) in AbstractConnection.php line 124
at AbstractConnection->executeCommand(object(StringGet)) in Client.php line 328
at Client->executeCommand(object(StringGet)) in Client.php line 312
at Client->__call('get', array('laravel:a5469cdeba4a4031c966a244820028ff108bf933')) in RedisStore.php line 52
at Client->get('laravel:a5469cdeba4a4031c966a244820028ff108bf933') in RedisStore.php line 52
at RedisStore->get('a5469cdeba4a4031c966a244820028ff108bf933') in Repository.php line 95
at Repository->get('a5469cdeba4a4031c966a244820028ff108bf933', '') in CacheBasedSessionHandler.php line 56
at CacheBasedSessionHandler->read('a5469cdeba4a4031c966a244820028ff108bf933') in Store.php line 119
at Store->readFromHandler() in Store.php line 102
at Store->loadSession() in Store.php line 88
at Store->start() in StartSession.php line 103
at StartSession->startSession(object(Request)) in StartSession.php line 56
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 36
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in EncryptCookies.php line 40
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
at Pipeline->then(object(Closure)) in Kernel.php line 111
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 84
at Kernel->handle(object(Request)) in index.php line 53
从上面那个地址克隆一个项目下来,一切都顺利。我在本地设置的虚拟目录。可以访问,但是会报下面这个错误。请问是什么原因造成的?怎么修复?
ConnectionException in AbstractConnection.php line 146:
Connection refused [tcp://127.0.0.1:6379]
in AbstractConnection.php line 146
at AbstractConnection->onConnectionError('Connection refused', '61') in StreamConnection.php line 85
at StreamConnection->tcpStreamInitializer(object(Parameters)) in StreamConnection.php line 56
at StreamConnection->createResource() in AbstractConnection.php line 95
at AbstractConnection->connect() in StreamConnection.php line 142
at StreamConnection->connect() in AbstractConnection.php line 175
at AbstractConnection->getResource() in StreamConnection.php line 168
at StreamConnection->write('*2 $3 GET $48 laravel:a5469cdeba4a4031c966a244820028ff108bf933 ') in StreamConnection.php line 274
at StreamConnection->writeRequest(object(StringGet)) in AbstractConnection.php line 124
at AbstractConnection->executeCommand(object(StringGet)) in Client.php line 328
at Client->executeCommand(object(StringGet)) in Client.php line 312
at Client->__call('get', array('laravel:a5469cdeba4a4031c966a244820028ff108bf933')) in RedisStore.php line 52
at Client->get('laravel:a5469cdeba4a4031c966a244820028ff108bf933') in RedisStore.php line 52
at RedisStore->get('a5469cdeba4a4031c966a244820028ff108bf933') in Repository.php line 95
at Repository->get('a5469cdeba4a4031c966a244820028ff108bf933', '') in CacheBasedSessionHandler.php line 56
at CacheBasedSessionHandler->read('a5469cdeba4a4031c966a244820028ff108bf933') in Store.php line 119
at Store->readFromHandler() in Store.php line 102
at Store->loadSession() in Store.php line 88
at Store->start() in StartSession.php line 103
at StartSession->startSession(object(Request)) in StartSession.php line 56
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 36
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in EncryptCookies.php line 40
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
at Pipeline->then(object(Closure)) in Kernel.php line 111
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 84
at Kernel->handle(object(Request)) in index.php line 53
0 个回复