2

I have a postgresql server running on a remote debian box. postgresql is running on unix socket dir /var/run/postgresql. I also have pgbouncer running on port 6432. I also have 6432 open for tcp connections as below ACCEPT tcp -- anywhere anywhere tcp dpt:6432

In spite of this, when i try connecting from pgadmin, i get the following message - could not connect to server: Connection refused (0x0000274D/10061). Is the server running on host "x.x.x.x" and accepting TCP/IP connections on port 6432?

Can you pls help..

Chris Travers
  • 25,424
  • 6
  • 65
  • 182
mongle
  • 65
  • 1
  • 7

1 Answers1

4

Connections to pgbouncer through pgAdmin do not appear to be supported. I was able to get past the error above by changing listen_addr = *. (After changing the listen_addr, RELOAD is not sufficient, you must SHUTDOWN and then restart pgbouncer.) However, I then get a series of errors that basically indicate that system database objects are not exposed when connecting to pgbouncer. pgAdmin cannot function without data from these objects.