1

I am trying to make a new server registration in pgAdmin but I am getting this error:

"server is not listening"

The IP Address of the server is : X.Y.Z.W

And in pg_hba.conf I set accesses like:

# TYPE  DATABASE        USER            ADDRESS                 METHOD
  # "local" is for Unix domain socket connections only
    local   all             all                                     peer
  # IPv4 local connections:
  host    all             all             0.0.0.0/0          md5
  host    all             all             127.0.0.1/32            md5

 # IPv6 local connections:
    host    all             all             ::1/128                 ident

when I run : su postgres and then: psql -h X.Y.Z.W -d test -U test There is no error.

how can I solve the error.

Thank you

3
  • Did you used the same machine for pgAdmin and psql ? Are you listening to every hosts in your postgresql.conf file ? Commented Aug 26, 2013 at 13:07
  • yes. in Postgresql.conf I set Listen_addresses = '*' Commented Aug 26, 2013 at 13:21
  • Then it becomes tricky... You could try to re-install pgAdmin, and make sure its version is compatible with your server version. Also, you should try to disable your firewall on client side if you have one. I don't see anything else yet. Commented Aug 26, 2013 at 13:31

1 Answer 1

1

So I re-installed pgadmin3 and it worked fine.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.