[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] How can i get the port pgsql runs under?
- Subject: Re: [cobalt-users] How can i get the port pgsql runs under?
- From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri Jan 17 03:48:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Fri, 17 Jan 2003, Andy Brown wrote:
> I've just done a:
> netstat -ap
> to have a look at listening ports with processes attached and couldn't see
> anything other than a local file socket at /tmp/.s.PGSQL.5432
>
> Is it possible postgres doesn't listen on a traditional port on the RaQs for
> security?
> Not knowing much about postgres, can't be of further help i'm afraid :(
>
By default postgre only allows connections by a loccl UNIX socket.
If you want to have tcp you need to edit pg_hba.conf and add that, and
restart postgresql
There is a reasonably good howto at;
http://www.linux.se/doc/HOWTO/PostgreSQL-HOWTO.html
Gerald
--
http://frontstreetnetworks.com | http://store.raqware.com
Front Street Networks LLC | Phone: +1 203 785-0699
229 Front Street, Ste. #C, New Haven, CT. 06513-3203