Re: Prolem to acess PostgeSQL from other mechine

Поиск
Список
Период
Сортировка
От Bosco Rama
Тема Re: Prolem to acess PostgeSQL from other mechine
Дата
Msg-id 50608955.9080804@boscorama.com
обсуждение исходный текст
Ответ на Prolem to acess PostgeSQL from other mechine  (Arun R T <arunrt99@ymail.com>)
Список pgsql-general
On 09/23/12 20:50, Arun R T wrote:
>
> I have some problem to connect PostgeSQL server from client mechine
[snip]
> org.postgresql.util.PSQLException: Connection refused. Check that the hostname
> and port are correct and that the postmaster is accepting TCP/IP connections.

Given this ^^^ follow the recommendations:  Check that you are talking to the
correct host (10.10.10.101).  Then check that you have the right port number
(you had 6060 but you didn't mention that you had changed it from the default
which is usually 5432 for the first PG instance on a machine).  You indicated
that you had enabled listening for tcp on all addresses.  Did you (re)start
the server afterwards?

As a final act of desperation, make sure there is no intervening firewalls/routers
that may be rejecting it.

HTH

Bosco.


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Prolem to acess PostgeSQL from other mechine
Следующее
От: Rachel Owsley
Дата:
Сообщение: N-tile function in postgres