On 28 September 2010 18:03, Lukasz Brodziak <lukasz(dot)brodziak(at)gmail(dot)com> wrote:
> I have come accross a strange thing. I had to reinstall Ubuntu and
> after I installed PostgreSQL (using apt-get install postgresql-8.4)
> when I tried to configure the password I got "Cannot connect to
> server. Is server running locally and accepting connections on Unix
> port 5432"?
In addition to Kasia's response: check the postgresql.conf to see
which interfaces your instance is configured to use.
Cheers,
Andrej