I am setting up postgresql / pgadmin on my new macbook pro. However, when I register a new server, I get the error:
Server doesn't listen
The server doesn't accept connections: the connection library reports
could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?
I browsed this issue and apparently the answer is to edit the pg_hba.conf file. However, i need help with:
1) How do I find & open that file?
2) Once I open it, what statements do I need to add to fix the issue?
Can someone help?
Thanks in advance!