Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id F179F9FBE23 for ; Tue, 3 Jul 2007 01:22:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 47618-06 for ; Tue, 3 Jul 2007 01:21:57 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from bay0-omc3-s25.bay0.hotmail.com (bay0-omc3-s25.bay0.hotmail.com [65.54.246.225]) by postgresql.org (Postfix) with ESMTP id 5A8C29FBE26 for ; Tue, 3 Jul 2007 01:21:55 -0300 (ADT) Received: from hotmail.com ([207.46.11.97]) by bay0-omc3-s25.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 2 Jul 2007 21:21:44 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 2 Jul 2007 21:21:44 -0700 Message-ID: Received: from 207.46.11.123 by by123fd.bay123.hotmail.msn.com with HTTP; Tue, 03 Jul 2007 04:21:41 GMT X-Originating-IP: [59.160.193.34] X-Originating-Email: [aroravishal22@hotmail.com] X-Sender: aroravishal22@hotmail.com In-Reply-To: <8BE2E1772BEE8D40B0FB9E59DF2A645E06E16F0A@hcsmsg002.corp.satyam.ad> From: "Vishal Arora" To: Jayakumar_Mukundaraju@satyam.com, pgsql-admin@postgresql.org Subject: Re: pg_hba.conf issue Date: Tue, 03 Jul 2007 04:21:41 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 03 Jul 2007 04:21:44.0001 (UTC) FILETIME=[A998A310:01C7BD29] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.013 tagged_above=0 required=5 tests=AWL=0.704, BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708, MSGID_FROM_MTA_HEADER=0 X-Spam-Level: X-Archive-Number: 200707/13 X-Sequence-Number: 25994 >From: "Jayakumar_Mukundaraju" >To: >Subject: [ADMIN] pg_hba.conf issue >Date: Mon, 2 Jul 2007 19:21:36 +0530 > >Hi friends, > >I am Jayakumar and new to PostgreSQL world. I am using PostgreSQL 8.1.3 >in Windows 2000 machine. > >My problem is, I am unable to connect to PostgreSQL server from another >machine's psql client. > >My system IP is 172.16.84.76, and client machine IP is 172.16.85.243. > >I can connect to the PostgreSQL server with " psql -Uroot >-h172.16.84.76" >from same system(172.16.84.76) > >If I give the above command from 172.16.85.243, results > >D:\\Program Files\PostgreSQL\8.1\bin>psql -Uroot - h172.16.84.76 >psql: could not connect to server: Connection refused (0x0000274D/10061) > Is the server running on host "172.16.84.76" and accepting > TCP/IP connections on port 5432? > >I don't know how to do this in windows. > > >here pg_hba.conf entries follows >************************************* >host all all 172.16.84.76/32 md5 >host all all 172.16.85.243/32 md5 > Is this pg_hba.conf file is located at (172.16.84.76)? Further are these entries made in IPv4 block? >here postgre.conf entry follows >*********************************** >#----------------------------------------------------------------------- >---- ># CONNECTIONS AND AUTHENTICATION >#----------------------------------------------------------------------- >---- > ># - Connection Settings - > >listen_addresses = '*' # what IP address(es) to listen on; > # comma-separated list of addresses; > # defaults to 'localhost', '*' = all >port = 5432 >max_connections = 100 ># note: increasing max_connections costs ~400 bytes of shared memory per ># connection slot, plus lock space (see max_locks_per_transaction). You ># might also need to raise shared_buffers to support more connections. > > >superuser_reserved_connections = 10 > >#unix_socket_directory = '' >#unix_socket_group = '' >#unix_socket_permissions = 0777 # octal >#bonjour_name = '' # defaults to the computer name > ># - Security & Authentication - > >authentication_timeout = 150 # 1-600, in seconds > >#ssl = on > >#password_encryption = on >#db_user_namespace = off > ># Kerberos >#krb_server_keyfile = '' >#krb_srvname = 'postgres' >#krb_server_hostname = '' # empty string matches any keytab entry >#krb_caseins_users = off > ># - TCP Keepalives - ># see 'man 7 tcp' for details > >#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds; > # 0 selects the system default >#tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds; > # 0 selects the system default >#tcp_keepalives_count = 0 # TCP_KEEPCNT; > # 0 selects the system default > >Please find my problem, give me the solution... > >Thanks & Regards >Jayakumar M > > > >DISCLAIMER: >This email (including any attachments) is intended for the sole use of the >intended recipient/s and may contain material that is CONFIDENTIAL AND >PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or >distribution or forwarding of any or all of the contents in this message is >STRICTLY PROHIBITED. If you are not the intended recipient, please contact >the sender by email and delete all copies; your cooperation in this regard >is appreciated. > >---------------------------(end of broadcast)--------------------------- >TIP 4: Have you searched our list archives? > > http://archives.postgresql.org _________________________________________________________________ http://liveearth.msn.com