Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 4938E9FBADB for ; Wed, 14 Feb 2007 06:56:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 68631-05 for ; Wed, 14 Feb 2007 06:56:46 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from perth.mailnetwork.co.uk (perth.mailnetwork.co.uk [80.175.28.46]) by postgresql.org (Postfix) with ESMTP id A5E6A9FBB4A for ; Wed, 14 Feb 2007 06:56:45 -0400 (AST) Received: from user-3e88bf95.telcl18.dsl.pol.co.uk ([62.136.191.149]:2079 helo=[10.100.9.2]) by perth.mailnetwork.co.uk with esmtpa (Exim 4.66) (envelope-from ) id 1HHHoZ-0007dI-QB; Wed, 14 Feb 2007 10:56:44 +0000 Message-ID: <45D2EAF9.4050301@mailnetwork.co.uk> Date: Wed, 14 Feb 2007 10:56:57 +0000 From: "Andy Shellam (Mailing Lists)" User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: gpio Oxxce CC: pgsql-admin@postgresql.org Subject: Re: =?ISO-8859-7?Q?=C8=DD=EC=E1=3A_Re=3A_=5BADMIN=5D_possi?= =?ISO-8859-7?Q?ble_Bug_in_windows_version_=3F?= References: <20070214085320.74069.qmail@web27908.mail.ukl.yahoo.com> In-Reply-To: <20070214085320.74069.qmail@web27908.mail.ukl.yahoo.com> Content-Type: multipart/alternative; boundary="------------050409010001080203090101" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.168 tagged_above=0 required=5 tests=AWL, BAYES_50, HTML_30_40, HTML_MESSAGE, SPF_PASS, SUBJECT_ENCODED_TWICE X-Spam-Level: * X-Archive-Number: 200702/196 X-Sequence-Number: 24661 This is a multi-part message in MIME format. --------------050409010001080203090101 Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 8bit If you're running one of Windows XP SP2 or Windows Server 2003, the Windows Firewall will be blocking the connection. If you have the "Windows Firewall" option in Control Panel, check it's disabled, then try again. If that cures your problem, add an exception in for port 5432 before you turn the firewall back on. Andy. gpio Oxxce wrote: > Hi Paul, All, > > My host pg_hba.conf: > host all all 127.0.0.1/32 md5 > host all all 192.168.1.1/32 trust > host all all 192.168.1.2/32 trust > > and postgresql.conf: > listen_addresses = '*' > port = 5432 > max_connections = 100 > > the 192.168.1.1 is also the server IP, and I am tryning to connect > from the 192.168.1.2 with pgExlorer and pgAdmin but I get a message : > "Cannot connect to Server. Connection timeout . Chech if the server is > running and accepting TCP connections on 5432" > > I will try to setup the database and see if this happens also the > binary distribution without the installer. > > Thx > George > > > */Paul Lambert /* έγραψε: > > gpio Oxxce wrote: > > Hi all, > > > > After downloading and installing the latest Postgresql server > > (postgresql-8.2.3-1..zip > > ) > > I can not make it accept local IP connections! > > I edit the |pg_hba.conf |file with > > > > host all all 192.168.100.1/32 trust > > > > but still I can't connect from 192.168.100.1 to the DB. > > Also during the installation I checked the option "Accept TCP > > connections.." (or something like that) > > > > Am I missing something or it is a possible bug ? > > > > Thanks > > George > > > > In putting in the above line did you replace the host line with > address > "127.0.0.1/32"? If so, that's probably your problem - it needs the > 127* > line. Is postmaster listening on the default port (5432) or did you > change that during install? (Can check that in the postgresql.conf > file > in the same place as pg_hba.conf) > > How are you trying to connect? (pgAdminIII, some other program > using the > ODBC driver?) What error are you getting? > > NB: I get access denied if I put my servers IP address into the > pg_hba.conf file and comment out the existing 127 address line. Local > connections would not go out through the network and would thus > not be > seen by PG as coming from your 192/168 address. > > P.. > > -- > Paul Lambert > Database Administrator > AutoLedgers > > > ---------------------------(end of > broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings > > > ------------------------------------------------------------------------ > Χρησιμοποιείτε Yahoo! > Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την > καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων > http://login.yahoo.com/config/mail?.intl=gr > > ------------------------------------------------------------------------ > Χρησιμοποιείτε Yahoo! > Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την > καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων > http://login.yahoo.com/config/mail?.intl=gr > !DSPAM:37,45d2ce7b18511494436004! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 --------------050409010001080203090101 Content-Type: text/html; charset=ISO-8859-7 Content-Transfer-Encoding: 8bit If you're running one of Windows XP SP2 or Windows Server 2003, the Windows Firewall will be blocking the connection.
If you have the "Windows Firewall" option in Control Panel, check it's disabled, then try again.

If that cures your problem, add an exception in for port 5432 before you turn the firewall back on.

Andy.


gpio Oxxce wrote:
Hi Paul, All,

My host   pg_hba.conf:
host     all         all         127.0.0.1/32                 md5
host    all         all          192.168.1.1/32          trust
host    all         all          192.168.1.2/32          trust

and postgresql.conf:
listen_addresses = '*'       
port = 5432               
max_connections = 100   

the 192.168.1.1 is also the server IP, and I am tryning to connect from the 192.168.1.2 with pgExlorer and pgAdmin  but I get a message :
"Cannot connect to Server. Connection timeout . Chech if the server is running and accepting TCP connections on 5432"

I will try to setup the database and see if this happens also the binary distribution without  the installer.

Thx
George


Paul Lambert <paul.lambert@autoledgers.com.au> έγραψε:
gpio Oxxce wrote:
> Hi all,
>
> After downloading and installing the latest Postgresql server
> (postgresql-8.2.3-1..zip
> )
> I can not make it accept local IP connections!
> I edit the |pg_hba.conf |file with
>
> host all all 192.168.100.1/32 trust
>
> but still I can't connect from 192.168.100.1 to the DB.
> Also during the installation I checked the option "Accept TCP
> connections.." (or something like that)
>
> Am I missing something or it is a possible bug ?
>
> Thanks
> George
>

In putting in the above line did you replace the host line with address
"127.0.0.1/32"? If so, that's probably your problem - it needs the 127*
line. Is postmaster listening on the default port (5432) or did you
change that during install? (Can check that in the postgresql.conf file
in the same place as pg_hba.conf)

How are you trying to connect? (pgAdminIII, some other program using the
ODBC driver?) What error are you getting?

NB: I get access denied if I put my servers IP address into the
pg_hba.conf file and comment out the existing 127 address line. Local
connections would not go out through the network and would thus not be
seen by PG as coming from your 192/168 address.

P..

--
Paul Lambert
Database Administrator
AutoLedgers


---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr


Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr
!DSPAM:37,45d2ce7b18511494436004!


-- 
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834
--------------050409010001080203090101--