Build a Database of Video Game Characters - Can't Login after partially completing the exercise

Tell us what’s happening:

I managed to complete 33% of the steps and then decided to go to sleep and continue the workshop the next day. However, when I try it the next day, I am logged out of psql. How do I log back on?

When I try to log in, I get this error:

camper: /project$ psql --username=freecodecamp
psql: error: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0

Challenge Information:

Build a Database of Video Game Characters - Build a Database of Video Game Characters

close the terminal that you have then click Reset
after a while, open a new terminal and retry the connect
if still not working, take a screenshot of your workspace and post it with your next response