pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A. Kretschmer <andreas.kretschmer@schollglas.com>
To: pgsql-sql@postgresql.org
Subject: Re: could not connect to server
Date: Fri, 13 Oct 2006 09:27:01 +0200
Message-ID: <20061013072701.GD27503@a-kretschmer.de> (raw)
In-Reply-To: <1160722339.5182.7.camel@geoivan>
References: <1160722339.5182.7.camel@geoivan>

am  Fri, dem 13.10.2006, um  8:52:19 +0200 mailte ivan marchesini folgendes:
> Dear Users,
> I have this problem:
> I'm running postgres 7.3 on a linux system...

Uhm, a very old version...



> I have started postmaster with -i option, but when I try to connect to
> the server  from another computer I obtain:
> 
> psql: could not connect to server: Nessuna rotta verso l'host
>         Is the server running on host "IP....." and accepting
>         TCP/IP connections on port 5432?
> 
> when I try to connect from the same computer running the postgres server
> (using TCP/IP )
> psql cave_prova -h IP.... -p 5432 -U aurora
> 
> the server answer correctly... and I can connect...
> so I think the TCP/IP socket is working well!!!
> 
> can you suggest me some ideas for solving this problem???
> thank you
> Ivan

Take a look in you ph_hba.conf - file and edit this properly. You need
an entry for the other host.

http://www.postgresql.org/docs/current/static/client-authentication.html



HTH, Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net



view thread (5+ messages)  latest in thread

Message-ID: <20061013072701.GD27503@a-kretschmer.de>
Permalink:  ../20061013072701.GD27503@a-kretschmer.de/
Also on:    postgresql.org/message-id/20061013072701.GD27503@a-kretschmer.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: andreas.kretschmer@schollglas.com
  Subject: Re: could not connect to server
  In-Reply-To: <20061013072701.GD27503@a-kretschmer.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox