[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, 0) in Redis.php line 54
  3. at Redis->__construct(['type' => 'redis', 'prefix' => 'm:', 'expire' => 600, ...])
  4. at ReflectionClass->newInstanceArgs([['type' => 'redis', 'prefix' => 'm:', 'expire' => 600, ...]]) in Container.php line 439
  5. at Container->invokeClass('\think\cache\driver\...', [['type' => 'redis', 'prefix' => 'm:', 'expire' => 600, ...]]) in Loader.php line 396
  6. at Loader::factory('redis', '\think\cache\driver\', ['type' => 'redis', 'prefix' => 'm:', 'expire' => 600, ...]) in Cache.php line 70
  7. at Cache->connect(['type' => 'redis', 'prefix' => 'm:', 'expire' => 600, ...]) in Cache.php line 92
  8. at Cache->init(['type' => 'redis', 'prefix' => 'm:', 'expire' => 600, ...]) in Cache.php line 47
  9. at Cache->__construct(['type' => 'redis', 'prefix' => 'm:', 'expire' => 600, ...]) 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('index/') in App.php line 334
  17. at App->init('index/') in Module.php line 60
  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_REFERER http://www.iwxshw.com/chapter/875
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.iwxshw.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.iwxshw.com
SERVER_PORT 443
SERVER_ADDR 10.0.8.3
REMOTE_PORT 43488
REMOTE_ADDR 54.225.35.224
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.iwxshw.com/public
DOCUMENT_URI /index.php
REQUEST_URI /chapter/875
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//chapter/875
SCRIPT_FILENAME /www/wwwroot/www.iwxshw.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711968774.5774
REQUEST_TIME 1711968774
Environment Variablesempty
ThinkPHP Constants
BOOKCTRL book
CHAPTERCTRL chapter
TAGCTRL tag
BOOKLISTACT booklist
SEARCHCTRL search
RANKCTRL rank
UPDATEACT update
AUTHORCTRL author
spider_db_conn xxx
PINYIN_DEFAULT 4096
PINYIN_TONE 2
PINYIN_NO_TONE 4
PINYIN_ASCII_TONE 8
PINYIN_NAME 16
PINYIN_KEEP_NUMBER 32
PINYIN_KEEP_ENGLISH 64
PINYIN_UMLAUT_V 128
PINYIN_KEEP_PUNCTUATION 256