pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ee97010@fe.up.pt
To: pgsql-admin@postgresql.org
Subject: PSQL error connection
Date: Tue, 26 Mar 2002 14:00:15 +0000 (WET)
Message-ID: <1017151215.3ca07eef913e8@webmail.fe.up.pt> (raw)

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



view thread (3+ messages)  latest in thread

Message-ID: <1017151215.3ca07eef913e8@webmail.fe.up.pt>
Permalink:  ../1017151215.3ca07eef913e8@webmail.fe.up.pt/
Also on:    postgresql.org/message-id/1017151215.3ca07eef913e8@webmail.fe.up.pt

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: ee97010@fe.up.pt
  Subject: Re: PSQL error connection
  In-Reply-To: <1017151215.3ca07eef913e8@webmail.fe.up.pt>
  References: <1017151215.3ca07eef913e8@webmail.fe.up.pt>

* 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