Re: Connect to server PG from laptop java app

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Jennifer Trey <jennifer(dot)trey(at)gmail(dot)com>
Subject: Re: Connect to server PG from laptop java app
Date: 2009-04-05 19:03:31
Message-ID: 200904051203.32060.aklaver@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sunday 05 April 2009 11:28:09 am Jennifer Trey wrote:
> Hi, I am trying to create my DB schema on the server through my development
> laptop.
> I have installed Web Server 2008 and PostgreSQL. They are both running. For
> some reason its not working. Do I need to open some firewall ports?
> PostgreSQL runs on 5432. ( I think I did that though). Do I need to
> configure PG somehow as well?
>
> Thanks / Jennifer

This begs several questions, but first let me see if I can sketch out the
layout.

Laptop(OS ?) <--> App(Java) <--> WebServer 2008(Windows) <--> Postgres(Version?)

Questions:
1) Is logging enabled at the various points in the chain and if so what do the
logs say?
2) Is there an authentication mechanism and if so, is the correct information
being passed through the chain?
3) Do you have network connectivity outside this above chain i.e can you ping
the server from the laptop?

--
Adrian Klaver
aklaver(at)comcast(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message novnov 2009-04-05 19:26:29 Recommend ORM for postgresql, good with .net
Previous Message ries van Twisk 2009-04-05 19:02:30 Re: Connect to server PG from laptop java app