Maybe this Question repeat but I am not getting any solution I am using centos 7 and Postgres 9.3. While connecting the PostgreSQL server it through error,
Error
Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connection on port 5432
Even I set pg_hba.config file but still I am getting the same error
I tried to remove postmaster.pid
but I got an error no such file and no pid exist
Please tell me the solution