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

How can I tell what port my postgreSQL server is running on?

From: "KRB" <krboden(at)mhm-law(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: How can I tell what port my postgreSQL server is running on?
Date: 2002-07-13 02:43:17
Message-ID: A345BFD886EBB348AD29AACFCC0FB5D78916@APOC.admin.mhm-law.com (view raw or flat)
Thread:
Lists: pgsql-novice
I didn't specify one, and it was installed as part of RedHat 7.3, so I'm guessing its 5432.

My real problem is that MS SQL 7.0 says,
Could not connect to server.
Could not connect to remote socket.

I searched the archives, and they said to
1) make sure postgreSQL is running by doing a psql <database name>
2) Make sure you specify the correct port for your server

the psql thing works fine, and I'm pretty sure the services are up, network is connected, machines can ping each other.

Thanks

Keith

Responses

pgsql-novice by date

Next:From: Derek BarrettDate: 2002-07-13 20:53:04
Subject: Question regarding contrib/fulltextindexing
Previous:From: Aarni Ruuhimäki / Megative Tmi / KYMI.comDate: 2002-07-12 17:44:08
Subject: Re: Newbie Stupid Question

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