epting TCP/IP connections?

(psycopg2.OperationalError) 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?

(Background on this error at: https://sqlalche.me/e/20/e3q8)
listen for the 'handle_error' event
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?

(psycopg2.OperationalError) 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?

(Background on this error at: https://sqlalche.me/e/20/e3q8)
listen for the 'handle_error' event
SSL connection has been closed unexpectedly

listen for the 'handle_error' event
connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL:  the database system is shutting down

listen for the 'handle_error' event
SSL connection has been closed unexpectedly