Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 9CF759FB434 for ; Fri, 13 Oct 2006 04:39:50 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 15407-08 for ; Fri, 13 Oct 2006 07:39:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by postgresql.org (Postfix) with ESMTP id 269EE9FB62A for ; Fri, 13 Oct 2006 04:27:04 -0300 (ADT) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1GYHRe1KDl-00008N; Fri, 13 Oct 2006 09:27:03 +0200 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1GYHRd-000856-00 for pgsql-sql@postgresql.org; Fri, 13 Oct 2006 09:27:01 +0200 Date: Fri, 13 Oct 2006 09:27:01 +0200 From: "A. Kretschmer" To: pgsql-sql@postgresql.org Subject: Re: could not connect to server Message-ID: <20061013072701.GD27503@a-kretschmer.de> References: <1160722339.5182.7.camel@geoivan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1160722339.5182.7.camel@geoivan> User-Agent: Mutt/1.5.9i X-Provags-ID: kundenserver.de abuse@kundenserver.de login:51ea9561fc3f6d9539a2acd743e4748c X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/124 X-Sequence-Number: 26513 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