Re: pgsql continuing network issues

From: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
To: aklaver(at)comcast(dot)net, pgsql-general(at)postgresql(dot)org
Subject: Re: pgsql continuing network issues
Date: 2006-03-31 14:43:28
Message-ID: 442D4010.3080508@amsoftwaredesign.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver wrote:
> On Friday 31 March 2006 02:55 am, David Bernal wrote:
>
>> Hey all,
>>
>> I wrote a few days ago regarding networking issues I'm having. At this
>> point, I'm at my wit's end and am hoping someone can help me.
>>
>> I am running postgres 8.1.0 on Windows XP w\SP2. I currently have
>> PGSQL configured to accept connections from my local IP, 192.168.0.100
>> using the listen_addresses directive.
>>
>
Why don't you try this:
set listen_addresses to * like so:
listen_addresses = '*'

Then set your pg_hba.conf to this:

# TYPE DATABASE USER CIDR-ADDRESS METHOD

# IPv4 local connections:
host all all 127.0.0.1/32 trust
host all all 192.168.0.100/32 trust

For this example I put trust for the method to rule out any password
issues, if you are confident
you have no password issues change the method to md5 or whatever your
choice is.

You should for sure change the listen_addresses to * because you may
have two NICs in the server or PC and somehow the external connections
are connecting to the other nic.

I always setup my win32 and Unix servers this way and have never had
problems.

Hope this helps,

--
Tony Caduto
AM Software Design
http://www.amsoftwaredesign.com
Home of PG Lightning Admin for Postgresql
Your best bet for Postgresql Administration

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2006-03-31 14:46:14 Re: How to use result column names in having cause
Previous Message Walter Stier 2006-03-31 14:35:46 unsubscribe from pgsql-de-allgemein