Fatal error: Uncaught exception 'ErrorException' with message 'file_get_contents(http://127.0.0.1:5984/logger-application/_design/main/_rewrite/new): failed to open stream: Connection refused' in /var/www/stc-hotels-mys/landing/vendor/magomogo/couchdb-logger-utils/Magomogo/CouchLogger/SilexExceptionLoggerProvider.php:31 Stack trace: #0 [internal function]: {closure}(2, 'file_get_conten...', '/var/www/stc-ho...', 31, Array) #1 /var/www/stc-hotels-mys/landing/vendor/magomogo/couchdb-logger-utils/Magomogo/CouchLogger/SilexExceptionLoggerProvider.php(31): file_get_contents('http://127.0.0....', false, Resource id #182) #2 [internal function]: Magomogo\CouchLogger\SilexExceptionLoggerProvider->Magomogo\CouchLogger\{closure}(Object(ErrorException), 500) #3 /var/www/stc-hotels-mys/landing/vendor/silex/silex/src/Silex/ExceptionListenerWrapper.php(52): call_user_func(Object(Closure), Object(ErrorException), 500) #4 [internal function]: Silex\ExceptionListenerWrapper->__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseFo in /var/www/stc-hotels-mys/landing/vendor/magomogo/couchdb-logger-utils/Magomogo/CouchLogger/SilexExceptionLoggerProvider.php on line 31