| ( ! ) Fatal error: Uncaught PDOException: 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/html/contacts.jsp.net.in/src/System/Database.php on line 14 | ||||
|---|---|---|---|---|
| ( ! ) PDOException: 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/html/contacts.jsp.net.in/src/System/Database.php on line 14 | ||||
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0002 | 357296 | {main}( ) | .../register.php:0 |
| 2 | 0.0071 | 372408 | App\System\Database::getConnection( ) | .../register.php:16 |
| 3 | 0.0072 | 373040 | __construct( $dsn = 'pgsql:host=localhost;port=5432;dbname=myapp_db', $username = 'postgres', $password = '[Sensitive Parameter]', $options = [3 => 2, 19 => 2, 20 => FALSE] ) | .../Database.php:14 |