Hi there,
I have recently created an account on pgAdmin 4 as part of a university
course. After making a server with this account and password, I then went
to reopen this server a few days later only to realise I needed my password
which I have sadly forgotten.
I have looked online for help, but
some things I check when pgadmin doesn't connect
1) use psql to make sure you can connect to the server with the postgres
user and the password you are expecting
2) check pg_hba.conf to assure that connections can be done over tcp and
not just via a domain socket
3) may try to add a different user