Re: Problem to connect to the Windows Port

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: Problem to connect to the Windows Port
Дата
Msg-id 412C5897.3050804@bigfoot.com
обсуждение исходный текст
Ответ на Re: Problem to connect to the Windows Port  ("Cornelia Boenigk" <poppcorn@cornelia-boenigk.de>)
Ответы Question about SQL statement error  (Mário Gamito <gamito@netual.pt>)
Список 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










В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Missing FROM clause
Следующее
От: Mário Gamito
Дата:
Сообщение: Question about SQL statement error