Re: Problem to connect to the Windows Port - Mailing list pgsql-general

From Cornelia Boenigk
Subject Re: Problem to connect to the Windows Port
Date
Msg-id 001c01c48a15$b13c1e70$0201a8c0@zwerg2000
Whole thread Raw
In response to Re: Problem to connect to the Windows Port  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: Problem to connect to the Windows Port
Re: Problem to connect to the Windows Port
List pgsql-general
Hi Magnus

Thanks.

> If you meant to match the entire subnet (192.168.*.*), instead put
> host minitest postgres 192.168.0.0 255.255.0.0 password

Ok. I changed the line in pg_hba.conf to

host all all 192.168.0.0  255.255.0.0 password

then rebooted the computer and tried again:

C:\>psql -h 192.168.1.8 -U postgres -d minitest
psql: could not connect to server: Connection refused
        Is the server running on host "192.168.1.8" and accepting
        TCP/IP connections on port 5432?

The server on 192.168.1.8 is running, (I can connect on this machine
to localhost/minitest.).
I can ping 192.168.1.8

Regards
Conni


pgsql-general by date:

Previous
From: Ennio-Sr
Date:
Subject: Checking whether postgresql is running
Next
From: Richard Huxton
Date:
Subject: Re: No connection to a PG 8.0 Beta 1 win32 server