pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim GUNDUZ <devrim@gunduz.org>
To: Ashok Chauhan <ashok@kalculate.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: TCP/IP connection
Date: Fri, 5 Dec 2003 14:53:05 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0312051449450.2398-100000@emo.org.tr> (raw)
In-Reply-To: <1070625176.1364.10.camel@chi>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On 5 Dec 2003, Ashok Chauhan wrote:

> i want to accsess my postgresql data base from network it is only
> possible when i start postgresql by following command:-
> postmaster -i -D /var/lib/pgsql/data
> after rebooting the system it does not listen for TCP/IP connection.
> how can i configure it for listening TCP/IP connection after rebooting.

edit /var/lib/pgsql/data/postgresql.conf .

Uncomment tcpip_socket option and set it to true.

tcpip_socket = true

Then PostgreSQL will listen to 5432, its default port. If you need to 
change it, edit port option.

You need to restart PostgreSQL for the changes to take effect when you 
edit the conf file.

Regards,
- -- 
Devrim GUNDUZ
devrim@gunduz.org				devrim.gunduz@linux.org.tr 
			http://www.TDMSoft.com
			http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/0H+ytl86P3SPfQ4RAk4jAKDJnSM1LpyRDrsr7sYAl5wEPhKXHgCeI17v
W0nWFKNJcHk8g1eK8cCByJ4=
=xYyw
-----END PGP SIGNATURE-----




view thread (9+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0312051449450.2398-100000@emo.org.tr>
Permalink:  ../Pine.LNX.4.44.0312051449450.2398-100000@emo.org.tr/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0312051449450.2398-100000@emo.org.tr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: devrim@gunduz.org, ashok@kalculate.com
  Subject: Re: TCP/IP connection
  In-Reply-To: <Pine.LNX.4.44.0312051449450.2398-100000@emo.org.tr>
  References: <1070625176.1364.10.camel@chi> <Pine.LNX.4.44.0312051449450.2398-100000@emo.org.tr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox