Error in the task bank system

SQLSTATE[08006] [7] connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory Is the server running locally and accepting connections on that socket?

#0 /home/taskdb/taskdb/include/db/dbwrapper.php(27): PDO->__construct()
#1 /home/taskdb/taskdb/include/logic/taskdb.php(922): DBWrapper->__construct()
#2 /home/taskdb/taskdb/include/logic/taskdb.php(1043): TaskDB::connectDB()
#3 /home/taskdb/taskdb/include/logic/taskdb.php(1013): TaskDB::start()
#4 /home/taskdb/taskdb/include/main.php(4): TaskDB::doPage()
#5 {main}

Click here to return to the home page.