pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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
Message-ID: <20030324062821.25420.qmail@mx.csahome.com> (raw)


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




view thread (7+ messages)

Message-ID: <20030324062821.25420.qmail@mx.csahome.com>
Permalink:  ../20030324062821.25420.qmail@mx.csahome.com/
Also on:    postgresql.org/message-id/20030324062821.25420.qmail@mx.csahome.com

 · 

reply

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: aris_it@csahome.com, devi@informatika.lipi.go.id
  Subject: Re: I can't connect to phpPgAdmin
  In-Reply-To: <20030324062821.25420.qmail@mx.csahome.com>
  References: <20030324062821.25420.qmail@mx.csahome.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