Re: Port?

From: "Kallol Nandi" <kallol(dot)nandi(at)indussoft(dot)com>
To: "Pgsql-General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Port?
Date: 2003-07-31 06:31:52
Message-ID: NBEDKIHMDKLGDCDIJLMMOEBLCCAA.kallol.nandi@indussoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Include -i in the options for starting the server.

e.g. pg_ctl start -o -i &

-i enables TCP/IP connections

Regards,
Kallol

-----Original Message-----
From: b b [mailto:hell_wild_hot2(at)yahoo(dot)com]
Sent: Thursday, July 31, 2003 11:56
To: Kallol Nandi
Subject: Re: [GENERAL] Port?

I looked up the pg_ctl command and it doesn't have a
-i option? what would it do anyway?

Cheers.

--- Kallol Nandi <kallol(dot)nandi(at)indussoft(dot)com> wrote:
> Have you started postmaster with the -i option?
> If not then doing so will solve your problem.
>
> Regards,
> Kallol.
>
> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf
> Of b b
> Sent: Thursday, July 31, 2003 11:27
> To: postgresql
> Subject: [GENERAL] Port?
>
>
>
> 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
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose
> an index scan if your
> joining column's datatypes do not match
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
majordomo(at)postgresql(dot)org

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

Browse pgsql-general by date

  From Date Subject
Next Message Kallol Nandi 2003-07-31 06:42:43 Re: Port?
Previous Message Ron Johnson 2003-07-31 06:08:52 Re: Port?