Forum OpenACS Q&A: PostgreSQL Port

Collapse
Posted by Luis Garcia on
Hi,
I am trying to use pgAccess and I do not know what my PostgreSQL port is. How can I find out?
Thanks
Collapse
2: Re: PostgreSQL Port (response to 1)
Posted by Gregor Obernosterer on
I would do the following:

[nsadmin@acs-dev packages]$ grep postgres /etc/services
postgres        5432/tcp                        # POSTGRES
postgres        5432/udp                        # POSTGRES

Collapse
3: Re: PostgreSQL Port (response to 1)
Posted by David Walker on
Run
netstat --inet -nlp|grep postmaster
as root.