/home/bookingcabs/public_html/vendor/zendframework/zend-http/src/Client/Adapter/Socket.php:291
Unable to connect to api.bookingcabs.com:3001 . Error #0: stream_socket_client(): unable to connect to api.bookingcabs.com:3001 (Connection refused)
#0 /home/bookingcabs/public_html/vendor/zendframework/zend-http/src/Client.php(1444): Zend\Http\Client\Adapter\Socket->connect('api.bookingcabs...', 3001, true) #1 /home/bookingcabs/public_html/vendor/zendframework/zend-http/src/Client.php(944): Zend\Http\Client->doRequest(Object(Zend\Uri\Http), 'GET', true, Array, '') #2 /home/bookingcabs/public_html/vendor/zendframework/zend-http/src/Client.php(862): Zend\Http\Client->send(Object(Zend\Http\Request)) #3 /home/bookingcabs/public_html/module/Application/src/Controller/RestAPIClientController.php(95): Zend\Http\Client->dispatch(Object(Zend\Http\Request)) #4 /home/bookingcabs/public_html/module/Application/src/Controller/RestAPIClientController.php(47): Application\Controller\RestAPIClientController->dispatchRequestAndDecodeResponse('https://api.boo...', 'GET') #5 /home/bookingcabs/public_html/module/Application/src/View/Helper/MyHelper.php(44): Application\Controller\RestAPIClientController->get('https://api.boo...') #6 /home/bookingcabs/public_html/module/Guide/view/layout/footer.phtml(29): Application\View\Helper\MyHelper->getCompanyData() #7 /home/bookingcabs/public_html/module/Guide/view/layout/guide.phtml(15): require_once('/home/bookingca...') #8 /home/bookingcabs/public_html/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include('/home/bookingca...') #9 /home/bookingcabs/public_html/vendor/zendframework/zend-view/src/View.php(207): Zend\View\Renderer\PhpRenderer->render(NULL) #10 /home/bookingcabs/public_html/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php(105): Zend\View\View->render(Object(Zend\View\Model\ViewModel)) #11 /home/bookingcabs/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent)) #12 /home/bookingcabs/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(171): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent)) #13 /home/bookingcabs/public_html/vendor/zendframework/zend-mvc/src/Application.php(367): Zend\EventManager\EventManager->triggerEvent(Object(Zend\Mvc\MvcEvent)) #14 /home/bookingcabs/public_html/vendor/zendframework/zend-mvc/src/Application.php(348): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent)) #15 /home/bookingcabs/public_html/public/index.php(53): Zend\Mvc\Application->run() #16 {main}
/home/bookingcabs/public_html/vendor/zendframework/zend-http/src/Client/Adapter/Socket.php:280
stream_socket_client(): unable to connect to api.bookingcabs.com:3001 (Connection refused)
#0 [internal function]: Zend\Stdlib\ErrorHandler::addError(2, 'stream_socket_c...', '/home/bookingca...', 280, Array) #1 /home/bookingcabs/public_html/vendor/zendframework/zend-http/src/Client/Adapter/Socket.php(280): stream_socket_client('api.bookingcabs...', 111, 'Connection refu...', 100, 4, Resource id #396) #2 /home/bookingcabs/public_html/vendor/zendframework/zend-http/src/Client.php(1444): Zend\Http\Client\Adapter\Socket->connect('api.bookingcabs...', 3001, true) #3 /home/bookingcabs/public_html/vendor/zendframework/zend-http/src/Client.php(944): Zend\Http\Client->doRequest(Object(Zend\Uri\Http), 'GET', true, Array, '') #4 /home/bookingcabs/public_html/vendor/zendframework/zend-http/src/Client.php(862): Zend\Http\Client->send(Object(Zend\Http\Request)) #5 /home/bookingcabs/public_html/module/Application/src/Controller/RestAPIClientController.php(95): Zend\Http\Client->dispatch(Object(Zend\Http\Request)) #6 /home/bookingcabs/public_html/module/Application/src/Controller/RestAPIClientController.php(47): Application\Controller\RestAPIClientController->dispatchRequestAndDecodeResponse('https://api.boo...', 'GET') #7 /home/bookingcabs/public_html/module/Application/src/View/Helper/MyHelper.php(44): Application\Controller\RestAPIClientController->get('https://api.boo...') #8 /home/bookingcabs/public_html/module/Guide/view/layout/footer.phtml(29): Application\View\Helper\MyHelper->getCompanyData() #9 /home/bookingcabs/public_html/module/Guide/view/layout/guide.phtml(15): require_once('/home/bookingca...') #10 /home/bookingcabs/public_html/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include('/home/bookingca...') #11 /home/bookingcabs/public_html/vendor/zendframework/zend-view/src/View.php(207): Zend\View\Renderer\PhpRenderer->render(NULL) #12 /home/bookingcabs/public_html/vendor/zendframework/zend-mvc/src/View/Http/DefaultRenderingStrategy.php(105): Zend\View\View->render(Object(Zend\View\Model\ViewModel)) #13 /home/bookingcabs/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent)) #14 /home/bookingcabs/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(171): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent)) #15 /home/bookingcabs/public_html/vendor/zendframework/zend-mvc/src/Application.php(367): Zend\EventManager\EventManager->triggerEvent(Object(Zend\Mvc\MvcEvent)) #16 /home/bookingcabs/public_html/vendor/zendframework/zend-mvc/src/Application.php(348): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent)) #17 /home/bookingcabs/public_html/public/index.php(53): Zend\Mvc\Application->run() #18 {main}