exception 'PDOException' with message 'SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "192.168.0.2" and accepting TCP/IP connections on port 5432?' in /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Abstract.php:129 Stack trace: #0 /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('pgsql:host=192....', 'kpoint', 'gu3n454t4$GFRE', Array) #1 /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Pgsql.php(87): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/pointfm/www/library/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Pdo_Pgsql->_connect() #3 /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select * from r...', Array) #4 /var/www/pointfm/www/application/models/Recipe.php(121): Zend_Db_Adapter_Pdo_Abstract->query('select * from r...', Array) #5 /var/www/pointfm/www/application/controllers/RecipesController.php(58): Recipe->getRecipe(0, 'ciasteczka-z-ot...') #6 /var/www/pointfm/www/library/Zend/Controller/Action.php(513): RecipesController->showrecipeAction() #7 /var/www/pointfm/www/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('showrecipeActio...') #8 /var/www/pointfm/www/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #9 /var/www/pointfm/www/index.php5(281): Zend_Controller_Front->dispatch() #10 {main} Next exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "192.168.0.2" and accepting TCP/IP connections on port 5432?' in /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Pgsql.php(87): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/pointfm/www/library/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Pdo_Pgsql->_connect() #2 /var/www/pointfm/www/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select * from r...', Array) #3 /var/www/pointfm/www/application/models/Recipe.php(121): Zend_Db_Adapter_Pdo_Abstract->query('select * from r...', Array) #4 /var/www/pointfm/www/application/controllers/RecipesController.php(58): Recipe->getRecipe(0, 'ciasteczka-z-ot...') #5 /var/www/pointfm/www/library/Zend/Controller/Action.php(513): RecipesController->showrecipeAction() #6 /var/www/pointfm/www/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('showrecipeActio...') #7 /var/www/pointfm/www/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #8 /var/www/pointfm/www/index.php5(281): Zend_Controller_Front->dispatch() #9 {main}