Skip site navigation (1) Skip section navigation (2)

Re: Problem to connect to the Windows Port

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Cornelia Boenigk <poppcorn(at)cornelia-boenigk(dot)de>
Subject: Re: Problem to connect to the Windows Port
Date: 2004-08-25 09:15:03
Message-ID: 412C5897.3050804@bigfoot.com (view raw or flat)
Thread:
Lists: pgsql-general
Cornelia Boenigk wrote:

> 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

I could you execute on your server the following command:

netstat -an and look for the row that say LISTENING on port 5432 ?


Regards
Gaetano Mendola










In response to

Responses

pgsql-general by date

Next:From: Mário GamitoDate: 2004-08-25 11:37:51
Subject: Question about SQL statement error
Previous:From: Richard HuxtonDate: 2004-08-25 08:30:54
Subject: Re: Missing FROM clause

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group