Fatal error: Uncaught Exception: DB Connection failed: SQLSTATE[08006] [7] connection to server at "localhost" (::1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? in /var/www/BAFTA/api/utils/DB.php:66 Stack trace: #0 /var/www/BAFTA/api/utils/DB.php(109): Core\DB->__construct() #1 /var/www/BAFTA/api/utils/QueryBuilder.php(43): Core\DB::getInstance() #2 /var/www/BAFTA/api/services/TenantRegistry.php(28): Core\QueryBuilder->__construct() #3 /var/www/BAFTA/api/middleware/TenantResolver.php(15): App\Services\TenantRegistry->__construct() #4 /var/www/BAFTA/api/router.php(38): init_tenant_context() #5 /var/www/BAFTA/api/index.php(10): require_once('...') #6 {main} thrown in /var/www/BAFTA/api/utils/DB.php on line 66