| От | Tom Lane |
|---|---|
| Тема | Re: Postgres does not accept socket connections |
| Дата | |
| Msg-id | 3107.1141314551@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Postgres does not accept socket connections ("A. Kretschmer" <andreas.kretschmer@schollglas.com>) |
| Список | pgsql-general |
"A. Kretschmer" <andreas.kretschmer@schollglas.com> writes:
> am 02.03.2006, um 4:37:02 -0800 mailte kishore.sainath@gmail.com folgendes:
>> psql: could not connect to server: Connection refused
>> Is the server running on host "server-name" and accepting
>> TCP/IP connections on port 5432?
> Check the postgresql.conf for the value "listen_addresses".
> My guess: listen_address is at the moment 'localhost'. Change this to
> the LAN-address or '*'.
If listen_addresses is correct and you still get "Connection refused",
the other thing to look at is the kernel's packet filtering rules
(iptables). I believe the default configuration on FC4 will reject
external connections to 5432.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера