X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2ADDBD1B460 for ; Fri, 5 Dec 2003 12:53:36 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 46319-05 for ; Fri, 5 Dec 2003 08:53:11 -0400 (AST) Received: from emo.org.tr (emo.org.tr [195.142.105.9]) by svr1.postgresql.org (Postfix) with ESMTP id D594CD1B4A8 for ; Fri, 5 Dec 2003 08:53:07 -0400 (AST) Received: by emo.org.tr (Postfix, from userid 41643) id 18BEBEE83A; Fri, 5 Dec 2003 14:53:07 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by emo.org.tr (Postfix) with ESMTP id 08214EE822; Fri, 5 Dec 2003 14:53:07 +0200 (EET) Date: Fri, 5 Dec 2003 14:53:05 +0200 (EET) From: Devrim GUNDUZ X-X-Sender: devrim2@emo.org.tr To: Ashok Chauhan Cc: pgsql-admin@postgresql.org Subject: Re: TCP/IP connection In-Reply-To: <1070625176.1364.10.camel@chi> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/53 X-Sequence-Number: 11561 -----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-----