How to fix Connection exception in PostgreSQL | DevErrors