From: herbey zepeda <zepedaherbey@gmail.com>
To: pgsql-admin@postgresql.org
Subject: pg Windows to PG FreeBSD
Date: Fri, 23 Apr 2010 16:05:17 -0400
Message-ID: <w2j49856ef1004231305q94348736va34fba002babd0d0@mail.gmail.com> (raw)
hi
I have one install of postgresql in Windows, and a second in FreeBSD. Both
are the 8.4 version
I am trying to connect from the windows install to the FreeBSD server
install
psql -h 10.10.90.125 -U myUser -d template1
and the result is:
"Could not connect to server connection refused....is the server running on
host .... and accepting tcp/ip connections on port 5432?"
I searched in severa places, one of them is:
http://www.postgresql.org/docs/8.3/static/server-start.htmlhttp://www.postgresql.org/docs/8.2/static/auth-pg-hba-conf.htmlhttp://www.postgresql.org/docs/8.4/static/runtime-config-connection.htmlhttp://www.cyberciti.biz/tips/postgres-allow-remote-access-tcp-connection.html
in addition to the manual,
I do not have the same problem when I try a Windows to Windows connection.
I already placed the "*" in the listen_addresses option and "host all all
10.10.90.0/24 trust".
I'm not sure what to do now, again, windows to windows there is no problem,
thanks
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: zepedaherbey@gmail.com
Subject: Re: pg Windows to PG FreeBSD
In-Reply-To: <w2j49856ef1004231305q94348736va34fba002babd0d0@mail.gmail.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