Skip site navigation (1) Skip section navigation (2)

Re: default port number

From: Kevin Kempter <kevin(at)kevinkempterllc(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: default port number
Date: 2007-09-04 17:09:41
Message-ID: 200709041109.42925.kevin@kevinkempterllc.com (view raw or flat)
Thread:
Lists: pgsql-admin
On Tuesday 04 September 2007 10:59:38 Tena Sakai wrote:
> Hi Everybody,
>
> I had been running postgres with postgresql.conf file
> as little changed as possible from distributed version.
> And lately I became a bit curious as well as confused.
>
> In my configuration file both lines
>   #listen_addresses = 'localhost'
> and
>   #port = 5432
> are commented out.
>
> What does this mean?  Is postgress listening on port
> 5432?
>
> Regards,
>
> Tena Sakai
> tsakai(at)gallo(dot)ucsf(dot)edu


The above values are the defaults, postgres should be listening on port 5432 
and only listening on localhost for connections. You can double check by 
running these commands in a psql session:

show listen_addresses ;

show port ;


/Kevin

In response to

Responses

pgsql-admin by date

Next:From: Tena SakaiDate: 2007-09-04 18:06:29
Subject: Re: default port number
Previous:From: Kevin GrittnerDate: 2007-09-04 17:08:38
Subject: Re: default port number

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group