From: | "Jasbinder Bali" <jsbali(at)gmail(dot)com> |
---|---|
To: | "Alec Resnick" <aresnick(at)mit(dot)edu> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Connecting to a PostgreSQL Server remotely |
Date: | 2006-08-10 21:21:58 |
Message-ID: | a47902760608101421p26ee393dj2525414536268c03@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Even I'm facing the same problem.
In postgresql.conf,i changed the listen address to *, also i enabled all the
tcp options so that when i Exectute the statement EXEC SQL CONNECT TO
'tcp:postgresql://[ip address]:5432/dbname [user name and password] the tcp
connection is established but i always get -402 sqlcode meaning that the
connection is not established.
Thanks,
~Jas
On 8/3/06, Alec Resnick <aresnick(at)mit(dot)edu> wrote:
>
> Hi! I had a few questions. I've postgresql 8.1 setup on a desktop
> which is occasionally behind a VPN, running a server. I've a laptop
> running 8.1 as well, with which I'd like to be able to access the
> server. I've attempted to change the listen_addresses parameter to
> '*' and then reloaded with pg_ctl reload; however, I still get a
> "server doesn't listen" error. I'm using pgAdmin III, and I was
> hoping someone might be able to help me out?
>
> Thanks a bunch!
>
> Gratefully,
> a.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>
From | Date | Subject | |
---|---|---|---|
Next Message | Jasbinder Bali | 2006-08-10 21:27:55 | Re: Unable to connect to PostgreSQL 8 from PGAdmin III |
Previous Message | Andrej Ricnik-Bay | 2006-08-10 18:47:23 | Re: ident authentication failed for user postgres. |