Can’t connect to PostgreSQL database?

Can’t connect to PostgreSQL database?
Answer
PostgreSQL psql: could not connect to server: Connection refused
  1. Step # 1: Allow remote IP address to access PostgreSQL. You need to open file called /var/lib/pgsql/data/pg_hba.conf. …
  2. Step # 2: Allow communication over TCP/IP. …
  3. Step # 3: Restart PostgreSQL server. …
  4. Step # 4: Test your setup. …
  5. See also:
 

Tìm kiếm

Back
Top