Warning: Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/vendor/colinmollenhour/credis/Client.php on line 489

Warning: Redis::connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/vendor/colinmollenhour/credis/Client.php on line 489
CredisException: Connection to Redis redis:6379 failed after 2 failures.Last Error : (1) php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/vendor/colinmollenhour/credis/Client.php:508 Stack trace: #0 /var/www/html/vendor/colinmollenhour/credis/Client.php(504): Credis_Client->connect() #1 /var/www/html/vendor/colinmollenhour/credis/Client.php(850): Credis_Client->connect() #2 /var/www/html/vendor/colinmollenhour/cache-backend-redis/Cm/Cache/Backend/Redis.php(485): Credis_Client->__call('hGet', Array) #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Cache/Core.php(306): Cm_Cache_Backend_Redis->load('69d_SYSTEM_DEFA...', false) #4 /var/www/html/vendor/magento/framework/Cache/Frontend/Adapter/Zend.php(55): Zend_Cache_Core->load('69d_SYSTEM_DEFA...') #5 /var/www/html/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\Cache\Frontend\Adapter\Zend->load('system_default') #6 /var/www/html/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\Cache\Frontend\Decorator\Bare->load('system_default') #7 /var/www/html/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\Cache\Frontend\Decorator\Bare->load('system_default') #8 /var/www/html/vendor/magento/framework/App/Cache/Type/AccessProxy.php(74): Magento\Framework\Cache\Frontend\Decorator\Bare->load('system_default') #9 /var/www/html/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\App\Cache\Type\AccessProxy->load('system_default') #10 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(269): Magento\Framework\Cache\Frontend\Decorator\Bare->load('system_default') #11 /var/www/html/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(118): Magento\Config\App\Config\Type\System->Magento\Config\App\Config\Type\{closure}() #12 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(281): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData('SYSTEM_CONFIG', Object(Closure), Object(Closure), Object(Closure)) #13 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(207): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #14 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(181): Magento\Config\App\Config\Type\System->getWithParts('default/newreli...') #15 /var/www/html/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get('default/newreli...') #16 /var/www/html/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config->get('system', 'default/newreli...') #17 /var/www/html/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue('newrelicreporti...', 'default', NULL) #18 /var/www/html/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config->isSetFlag('newrelicreporti...') #19 /var/www/html/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #20 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException(Object(Magento\Framework\App\Http\Interceptor), Object(Magento\Framework\App\Bootstrap), Object(CredisException)) #21 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(CredisException)) #22 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #23 /var/www/html/vendor/magento/framework/App/Bootstrap.php(270): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(CredisException)) #24 /var/www/html/pub/index.php(30): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #25 {main}