Received: from webmail.fe.up.pt (serv01.fe.up.pt [193.136.33.231]) by postgresql.org (Postfix) with ESMTP id 18D14474E4E for ; Tue, 26 Mar 2002 09:00:23 -0500 (EST) Received: (from nobody@localhost) by webmail.fe.up.pt (8.11.3/8.11.3) id g2QE0Fx22916 for pgsql-admin@postgresql.org; Tue, 26 Mar 2002 14:00:15 GMT X-Authentication-Warning: webmail.fe.up.pt: nobody set sender to ee97010@fe.up.pt using -f To: pgsql-admin@postgresql.org Subject: PSQL error connection Message-ID: <1017151215.3ca07eef913e8@webmail.fe.up.pt> Date: Tue, 26 Mar 2002 14:00:15 +0000 (WET) From: ee97010@fe.up.pt MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.7 X-Archive-Number: 200204/12 X-Sequence-Number: 3901 Hello. I wonder if you could help me? When i tried to make a connection to my database Postgres by TCP/IP the following ocurred: Warning: Unable to connect to PostgreSQL server: connectDBStart() -- connect() failed: Connection refused Is the postmaster running (with -i) at 'dionisio' and accepting connections on TCP/IP port 5432? My PHP script is: $conn = pg_connect("host=remote_host dbname=myDB user=username password=pass"); Thanks for your atention and looking forward to hear from you soon, Carla Pereira