Closed
Description
Describe the bug
Hello. I cant connect to PostgreSQL server.
I advanced in some steps in the tutorial: 'Learn Relational Databases by Building a Mario Database' (around 35%) but after this point database stopped to respond.
To Reproduce
Steps to reproduce the behavior:
- Go to 'Ctrl+Shift+P'
- Click on 'CodeRoad: Start'
- Scroll down to 'Terminal'
- Entered: psql --username=freecodecamp dbname=postgres
- See error: 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"?
Expected behavior
Connect to database.
Desktop:
- Platform: Windows
- OS: 10
- Version: 20H2
VSCode :
- Version: 1.60.
Additional context
Followed the steps to set-up CodeRoad on VS code from: https://www.freecodecamp.org/news/how-to-run-freecodecamps-relational-databases-curriculum-using-docker-vscode-and-coderoad/
.