nerdexam
PostgreSQL_CE

PGCES-02 · Question #72

psql generated the following error message: psql: could not connect to server: Connection was refused Is the server running on host "server.example.com" and accepting TCP/IP connections on port…

The correct answer is A. Host "server.example.com" does not exist. E. The username and/or password are incorrect. PostgreSQL CE PGCES-02 Exam

Database Administration

Question

psql generated the following error message:

psql: could not connect to server: Connection was refused Is the server running on host "server.example.com" and accepting TCP/IP connections on port 5432? Select two reasons that are NOT the cause of this error.

Options

  • AHost "server.example.com" does not exist.
  • BThe PostgreSQL server is not running on "server.example.com".
  • CThe PostgreSQL server is not accepting TCP/IP connections on "server.example.com".
  • DThe PostgreSQL server is running on a port other than 5432 on "server.example.com".
  • EThe username and/or password are incorrect.

How the community answered

(26 responses)
  • A
    81% (21)
  • B
    12% (3)
  • C
    4% (1)
  • D
    4% (1)

Explanation

PostgreSQL CE PGCES-02 Exam

Topics

#PostgreSQL#connection error#TCP/IP#troubleshooting

Community Discussion

No community discussion yet for this question.

Full PGCES-02 Practice