Re: How can I tell what port my postgreSQL server is running on? - Mailing list pgsql-novice

From Hano de la Rouviere
Subject Re: How can I tell what port my postgreSQL server is running on?
Date
Msg-id 004e01c22c05$18be79b0$05faa8c0@edios
Whole thread Raw
In response to How can I tell what port my postgreSQL server is running on?  ("KRB" <krboden@mhm-law.com>)
List pgsql-novice
On the server run :

netstat -na

and see if
tcp        0      0 0.0.0.0:5432            0.0.0.0:*               LISTEN

if not
edit your postgresql.conf  in your $PGDATA directory


tcpip_socket = true


Restart your server
That should do it.


http://www.pgexplorer.com

----- Original Message -----
From: "KRB" <krboden@mhm-law.com>
To: <pgsql-novice@postgresql.org>
Sent: Saturday, July 13, 2002 4:43 AM
Subject: [NOVICE] How can I tell what port my postgreSQL server is running
on?


> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>


pgsql-novice by date:

Previous
From: "Chad Thompson"
Date:
Subject: Seeding
Next
From: "Jim Morcombe"
Date:
Subject: Problems linking to libpq