[Gfoss] Connessione a PostgreSQL 8.2

Ciao, vorrei connettermi al mio database in locale...
pratticamente ho postgre che gira su un computer in rete e vorrei connettermi da un altro computere con pgAdminIII...
metto come host l' ind IP 192.168.1.4 (è l'ind di rete del pc dove c' è postgre)
porta 5432
ecc
mi da questo errore:
could not connect to server: Connection refused (ox0000274D/10061) Is the server running on host "192.168.1.4" and accepting TCP/IP connection on port 5432?

ho modificato anche il file postgresql.conf così:
# - Connection Settings -

#listen_addresses = '*' # what IP address(es) to listen on;
     # comma-separated list of addresses;
     # defaults to 'localhost', '*' = all
     # (change requires restart)
port = 5432 # (change requires restart)

firewall disattivati su tutte e due i computer....
ma niente
non penso possa dipendere dal router....
sicuramente devo modificare qualcosa che ignoro.....

On Mon, Jun 29, 2009 at 10:28:58PM +0200, Filippo wrote:

could not connect to server: Connection refused (ox0000274D/10061) Is the
server running on host "192.168.1.4" and accepting TCP/IP connection on
port 5432?

ho modificato anche il file postgresql.conf così:
# - Connection Settings -

Qui devi togliere il cancelletto ad inizio riga:

#listen_addresses = '*' # what IP address(es) to listen on;

Altra cosa da controllare sono i permessi di accesso elencati nel
file pg_hba.conf del server, con una riga del genere dovrebbe
andare:

host all all 192.168.1.0/24 md5

Studia poi cosa significa codesta riga, per vedere se è troppo
permissiva oppure ti va bene.

--
Niccolo Rigacci
Firenze - Italy