From: Robin Iddon <robin@edesix.com>
To: sandhya <sandhyar@amiindia.co.in>
Cc: Postgres <pgsql-admin@postgresql.org>
Subject: Re: reg:conninfo
Date: Mon, 20 Mar 2006 08:58:41 +0000
Message-ID: <441E6EC1.3070508@edesix.com> (raw)
In-Reply-To: <01bd01c64bf7$553bb720$cd00000a@sandhyar>
References: <01bd01c64bf7$553bb720$cd00000a@sandhyar>
Try looking at the manual for the postmaster process ...
A simple way of achieving what you want is adding the -i option to the
postmaster command line which allows TCP/IP connections. Otherwise only
localhost can connect.
There are possibly other ways of configuring this same option, but we
use the -i on the command line to the postmaster process.
Hope this helps,
Robin
sandhya wrote:
>hi,
>
> I am using postgres8.0.3 on windows.When i am compiling a small sample i am facing problem in connection information.
>
>I have given entry in my pg_hba.conf file:
>host all all 10.0.3.67/32 md5
>
>And in my application when i pass host in conninfo as,
>host=10.0.3.67...It is not connecting..and throwing error like,
>Is server running on 10.0.0.205..etc
>But when i give as,
>host=localhost..It is running fine.
>After each change i am doing pg_reload.
>What i need to do inorder to mention the IP in my application instead of localhost?
>Please tell me.
>
>Thank you,
>Sandhya
>
>
>
>
>
>
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: robin@edesix.com, sandhyar@amiindia.co.in
Subject: Re: reg:conninfo
In-Reply-To: <441E6EC1.3070508@edesix.com>
References: <01bd01c64bf7$553bb720$cd00000a@sandhyar> <441E6EC1.3070508@edesix.com>
* 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