Can someone give me suggestions as what is wrong, I lost connection to psql yesterday and now cant connect, I’ve tried a number of different ways, I’ve tried connecting via my Ona account which was what I was using when I lost connection I have also tried connecting locally and I get the same message
camper: /project$ psql --username=freecodecamp --dbname=postgres
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”?"