php - Predis \ Connection \ ConnectionException -
i trying run laravel shop menu project on local machin in xampp. when try run show me below error. please me solve problem. have attached screen shot more clearification.
thanks in advance:
error:
predis \ connection \ connectionexception php_network_getaddresses: getaddrinfo failed: no such host known. [tcp://tunnel.pagodabox.com:6379] open: c:\xampp\htdocs\laravel\laravel-shop-menu\vendor\predis\predis\lib\predis\connection\abstractconnection.php * helper method handle connection errors. * * @param string $message error message. * @param int $code error code. */ protected function onconnectionerror($message, $code = null) { communicationexception::handle(new connectionexception($this, "$message [{$this->parameters->scheme}://{$this->getidentifier()}]", $code)); }
the issue tunnel.pagodabox.com
not have valid corresponding dns entry in associated nameservers, therefore it's unable resolve ip address can attempt connect on port 6379
.
either use ip directly or give subdomain resolvable dns entry in nameservers.
Comments
Post a Comment