Port? - Mailing list pgsql-general

From b b
Subject Port?
Date
Msg-id 20030731055659.96018.qmail@web41813.mail.yahoo.com
Whole thread Raw
Responses Re: Port?  ("Kallol Nandi" <kallol.nandi@indussoft.com>)
Re: Port?  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
 What port does the postgresql server listen on. I am
trying to connect using pg_connect from php using port
5432 with the following command:
 $dbconn3 = pg_connect ("host=localhost port=5432
dbname=dbname user=myname password=mypass");

 I get the following:
 Warning: pg_connect(): Unable to connect to
PostgreSQL server: could not connect to server:
Connection refused Is the server running on host
localhost and accepting TCP/IP connections on port
5432? ...

 How do we know the port postgresql is listening on?

Cheers.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: hexadecimal to decimal
Next
From: "Kallol Nandi"
Date:
Subject: Re: Port?