X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 321EC9DC845 for ; Fri, 24 Mar 2006 13:34:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 84624-10 for ; Fri, 24 Mar 2006 13:34:13 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [216.148.227.151]) by postgresql.org (Postfix) with ESMTP id F28BE9DCBA9 for ; Fri, 24 Mar 2006 13:34:11 -0400 (AST) Received: from [192.168.0.9] (c-24-17-161-80.hsd1.wa.comcast.net[24.17.161.80]) by comcast.net (rwcrmhc11) with ESMTP id <20060324173411m1100c6mole>; Fri, 24 Mar 2006 17:34:11 +0000 From: Adrian Klaver Reply-To: aklaver@comcast.net To: pgsql-general@postgresql.org Subject: Re: pgadmin Date: Fri, 24 Mar 2006 09:34:10 -0800 User-Agent: KMail/1.6.2 References: <1143227636.10571.1.camel@host-81.10.77.98.tedata.net> In-Reply-To: <1143227636.10571.1.camel@host-81.10.77.98.tedata.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200603240934.10512.aklaver@comcast.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.81 required=5 tests=[AWL=-0.509, DNS_FROM_RFC_POST=1.44, DNS_FROM_RFC_WHOIS=0.879] X-Spam-Score: 1.81 X-Spam-Level: * X-Archive-Number: 200603/1167 X-Sequence-Number: 93032 On Friday 24 March 2006 11:13 am, Mary Adel wrote: > I am trying to set PgAdmin so that i can connect from my pc to the > server but i have error saying : > > Error connecting to the server: could not connect to server: > Connection refused > Is the server running on host "xxx.xxx.xxx.xxx" and accepting > TCP/IP connections on port 5432? > > how i can solve this > can anyone help?? > > Thanks, > mary > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match The answer depends on what version you are running. You need to look at the postgresql.conf file for the server. On versions prior to 8.0 look for the parameter tcpip_socket and set it to true, by default it is set to false. For 8.0 and above the parameter is listen_addresses and can be set to * to listen to all IP interfaces on the server, by default it is set to localhost. This only allows connections from the machine the server resides on. -- Adrian Klaver aklaver@comcast.net