PSQL error connection - Mailing list pgsql-admin

From ee97010@fe.up.pt
Subject PSQL error connection
Date
Msg-id 1017151215.3ca07eef913e8@webmail.fe.up.pt
Whole thread Raw
Responses Re: PSQL error connection
Re: PSQL error connection
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Vacuum returns error
Next
From: Martins.Zarins@vestnesis.lv
Date:
Subject: timestamp function in 7.2