| 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 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mário Gamito | 2004-08-25 11:37:51 | Question about SQL statement error |
| Previous Message | Richard Huxton | 2004-08-25 08:30:54 | Re: Missing FROM clause |