X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C40414758F1 for ; Mon, 24 Mar 2003 01:42:44 -0500 (EST) Received: from mx.csahome.com (unknown [202.159.6.74]) by postgresql.org (Postfix) with SMTP id 5A73B474E42 for ; Mon, 24 Mar 2003 01:42:17 -0500 (EST) Received: (qmail 25421 invoked by uid 508); 24 Mar 2003 06:28:21 -0000 Message-ID: <20030324062821.25420.qmail@mx.csahome.com> From: aris_it@csahome.com To: devi@informatika.lipi.go.id Cc: pgsql-admin@postgresql.org Subject: Re: I can't connect to phpPgAdmin Date: Mon, 24 Mar 2003 06:28:21 GMT Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.1 required=5.0 tests=BAYES_20,NO_REAL_NAME version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/383 X-Sequence-Number: 8023 Ok....Let's start from begin 1. Please check your port status in your server with familiar tools like nmap. And make sure there is a port for postrgresql (5432). aris-deb:~# nmap 192.168.0.2 Starting nmap V. 2.54BETA31 ( www.insecure.org/nmap/ ) Interesting ports on (192.168.0.2): (The 1547 ports scanned but not shown below are in state: closed) Port State Service 9/tcp open discard 13/tcp open daytime 21/tcp open ftp 23/tcp open telnet 25/tcp open smtp 37/tcp open time 5432/tcp open postgres Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds 2. If there is no postgresql port (5432) please check your packet filtering (ipchains or iptables) and allow for it. 3. For pg_hba.conf TYPE DATABASE USER IP_ADRESS MASK AUTH_TYPE local all all 167.205.240.67 255.255.255.0 trust if yur configuration like this you just allow for IP 167.205.240.67/24 to acces this server. Can you change it to 167.205.240.0 to allow your network for accesing your server. Best regards Aris Wendy