Re: Unable to connect to server

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Unable to connect to server
Дата
Msg-id CAMkU=1z2vkZ4gWMd_U+Vt8AWKGHnGDR8LV2=0bSd3d0DYG59OA@mail.gmail.com
обсуждение исходный текст
Ответ на Unable to connect to server  ("Javali, Pramod" <Pramod.Javali1@T-Mobile.com>)
Ответы RE: Unable to connect to server  ("Javali, Pramod" <Pramod.Javali1@t-mobile.com>)
Список pgsql-bugs
This is unlikely to be a bug, it seems like an admin issue.

When I've seen this "server closed the connection unexpectedly" immediately upon connection, it is usually because a port forwarder has accepted the connection and tried to pass it on to the real server, but the forwarder got a connection refused error.  As it already accepted the connection, it can't pass the "refused" back to the client so instead just closes it without comment, which is unexpected.

If that is what is happening, you will not find any direct log messages in the PostgreSQL log about it, as no connection was ever established and so there is nothing to log.  But if something else is going on, you might get log messages so check for them.

Make sure that the PostgreSQL server is actually running, is listening on the right port and the right network interface, and that any port forwarder or firewall is configured correctly.

Cheers,

Jeff

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17855: Uninitialised memory used when the name type value processed in binary mode of Memoize
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: edb installation failed for pgadmin when username is Chinese under c;\user #7432