[0] RedisException in Redis.php line 54

Connection refused

  1. $this->options = array_merge($this->options, $options);
  2. }
  3. if (extension_loaded('redis')) {
  4. $this->handler = new \Redis;
  5. if ($this->options['persistent']) {
  6. $this->handler->pconnect($this->options['host'], $this->options['port'], $this->options['timeout'], 'persistent_id_' . $this->options['select']);
  7. } else {
  8. $this->handler->connect($this->options['host'], $this->options['port'], $this->options['timeout']);
  9. }
  10. if ('' != $this->options['password']) {
  11. $this->handler->auth($this->options['password']);
  12. }
  13. if (0 != $this->options['select']) {
  14. $this->handler->select($this->options['select']);
  15. }

Call Stack

  1. in Redis.php line 54
  2. at Redis->connect('127.0.0.1', '6379', 3600) in Redis.php line 54
  3. at Redis->__construct(['type' => 'Redis', 'prefix' => '', 'expire' => 3600, ...])
  4. at ReflectionClass->newInstanceArgs([['type' => 'Redis', 'prefix' => '', 'expire' => 3600, ...]]) in Container.php line 439
  5. at Container->invokeClass('\think\cache\driver\...', [['type' => 'Redis', 'prefix' => '', 'expire' => 3600, ...]]) in Loader.php line 396
  6. at Loader::factory('Redis', '\think\cache\driver\', ['type' => 'Redis', 'prefix' => '', 'expire' => 3600, ...]) in Cache.php line 70
  7. at Cache->connect(['type' => 'Redis', 'prefix' => '', 'expire' => 3600, ...]) in Cache.php line 92
  8. at Cache->init(['type' => 'Redis', 'prefix' => '', 'expire' => 3600, ...]) in Cache.php line 47
  9. at Cache->__construct(['type' => 'Redis', 'prefix' => '', 'expire' => 3600, ...]) in Cache.php line 100
  10. at Cache::__make(object(Config))
  11. at ReflectionMethod->invokeArgs(null, [object(Config)]) in Container.php line 431
  12. at Container->invokeClass('think\Cache', []) in Container.php line 284
  13. at Container->make('think\Cache', [], false) in Container.php line 281
  14. at Container->make('cache') in Container.php line 516
  15. at Container->__get('cache') in App.php line 356
  16. at App->containerConfigUpdate('home/') in App.php line 334
  17. at App->init('home/') in Module.php line 61
  18. at Module->init() in App.php line 402
  19. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.yh596.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.yh596.com
SERVER_PORT 80
SERVER_ADDR 172.26.193.191
REMOTE_PORT 41116
REMOTE_ADDR 54.172.169.199
SERVER_SOFTWARE nginx/1.19.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.yh596.com/public
DOCUMENT_URI /index.php
REQUEST_URI /bdaire/736
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/bdaire/736
SCRIPT_FILENAME /www/wwwroot/www.yh596.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710845057.5827
REQUEST_TIME 1710845057
Environment Variablesempty
ThinkPHP Constantsempty