| От | Tom Lane |
|---|---|
| Тема | Re: connect to database over network |
| Дата | |
| Msg-id | 5384.1049997389@sss.pgh.pa.us обсуждение |
| Ответ на | connect to database over network (aa nn <bmewang@yahoo.com>) |
| Список | pgsql-novice |
aa nn <bmewang@yahoo.com> writes:
> psql: could not connect to server: Connection reset by peer (0x00002746/10054)
> Is the server running on host synapse.xxx.xxx.xxx and accepting
> TCP/IP connections on port 5432?
> The thing is that I started the postermaster with -i option and I already added my client PC's IP to the pg_hba.conf.
"Connection reset by peer" sounds more like a kernel-level rejection,
anyway. Perhaps you should check the packet filtering setup on the
Linux box to see if traffic to/from port 5432 is allowed in and out.
(At least in recent RHL releases, the default filtering setup doesn't
allow such traffic.)
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера