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

Re: PostgreSQL server listen on other port than 5432

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dotan Barak <dotanba(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL server listen on other port than 5432
Date: 2009-07-30 14:33:42
Message-ID: 12782.1248964422@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Dotan Barak <dotanba(at)gmail(dot)com> writes:
> I'm using CentOS 5.3 and PostgreSQL version 8.1.11.

Are you using the Red Hat/CentOS postgresql RPMs, or some other
distribution of PG?

> It seems that the posgres SQL sometimes listen on other ports than 5432:
> # lsof -i -n -P  | grep postg
> postmaste 18415 postgres    3u  IPv4  99670       TCP *:17583 (LISTEN)
> postmaste 18415 postgres    4u  IPv6 102029       TCP *:5432 (LISTEN)
> postmaste 18415 postgres    5u  IPv4 102030       TCP *:5432 (LISTEN)

Odd, particularly seeing that that port was evidently opened before
5432.  The only idea that comes to mind is that it's being opened by
a library for Kerberos or LDAP or some such.  What auth methods have
you got listed in pg_hba.conf?

			regards, tom lane

In response to

Responses

pgsql-general by date

Next:From: Vick KheraDate: 2009-07-30 15:02:55
Subject: Re: SVN and Postgres 8.3
Previous:From: Greg StarkDate: 2009-07-30 14:30:15
Subject: Re: Clients disconnect but query still runs

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