connect local pgAdmin III to remote postgres server

From: gdhia <gdhia(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: connect local pgAdmin III to remote postgres server
Date: 2012-05-08 11:21:37
Message-ID: 1336476097836-5693266.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I have a Debian server on which is installed Postgresql, with a database.

I have installed pgAdmin III on my computer (Win 7) and I try to communicate
with postgres on my server to display it.

on my server, using this code tells me the DB installed:

postgres=# select datname from pg_database;
datname
-----------
template1
template0
postgres
(3 rows)

I checked on my server that posgres is listening on port 5432:
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
4998/postgres

the firewall do not block his incoming connections:
ACCEPT tcp -- anywhere anywhere tcp
dpt:postgresql

the service is running:
8.3 main 5432 online postgres /var/lib/postgresql/8.3/main
/var/log/postgresql/postgresql-8.3-main.log

postgresql.conf has the changed value:
#listen_addresses = '*'

and despite all this, pgAdmin III gives me:
could not connect to server: Connection refused (0x0000274D/10061) Is the
server running on host "xx.xx.xx.xx" and accepting TCP/IP connections on
port 5432?

Could anyone help me connect the postgresql server installed on my Debian
server via pgAdmin III installed on my pc?

Thanks in advance

--
View this message in context: http://postgresql.1045698.n5.nabble.com/connect-local-pgAdmin-III-to-remote-postgres-server-tp5693266.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Mürk 2012-05-08 12:11:17 Picksplit warning
Previous Message Guillaume Lelarge 2012-05-08 11:17:34 Re: lowercase on columnname using view