Re: Problem with host connection

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Jeremy Smith <Jeremy(at)justasofty(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problem with host connection
Date: 2001-02-26 17:00:01
Message-ID: m3zof9xtv2.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeremy Smith <Jeremy(at)justasofty(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2001-02-26 17:07:13 Re: newbie question
Previous Message Dan Wilson 2001-02-26 16:55:43 Re: version issue?