Re: Problem with host connection - Mailing list pgsql-general

From Doug McNaught
Subject Re: Problem with host connection
Date
Msg-id m3zof9xtv2.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to Problem with host connection  (Jeremy Smith <Jeremy@justasofty.com>)
List pgsql-general
Jeremy Smith <Jeremy@justasofty.com> writes:

> This is a new area to me, I am rewriting a Microsoft Access
> application for the company I work for in Java and Postgres.  I have
> created a testdatabase called history which I can access with <psql
> history> fine as well as from a Perl test app I have written.  But
> if I try to specify a host in either my Java test app or psql I get
> the same error message

> Connection to database 'history' failed.
> connectDB() -- connect() failed: Connection refused
> Is the postmaster running (with -i) at '127.0.0.1' and accepting connections
> on TCP/IP port '5432'?

By all evidence you're not running the postmaster with '-i'.  Chechk
your startup script.

-Doug

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: newbie question
Next
From: Tulio Oliveira
Date:
Subject: Trigger and Permissions