How to fix psycopg2.OperationalError: could not connect to server: Connection refused in Python | DevErrors