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..
listen_addr
? – Daniel Vériténetstat -tln|grep 6432
would show how it listens. I'd expect it to listen only at127.0.0.1
– Daniel Vérité