Re: connect from network PC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: connect from network PC
Дата
Msg-id 24036.1079708273@sss.pgh.pa.us
обсуждение исходный текст
Ответ на connect from network PC  ("Robert Morgan" <robert_@ihug.co.nz>)
Список pgsql-novice
"Robert Morgan" <robert_@ihug.co.nz> writes:
> Hi I have Postgres installed on a PC running RH9 which is networked to my o=
> ther (win2k) PC. I have created a couple of DB's and want to connect to the=
> m from my win2k PC using DBTools however I get this error message:

> Loading Server pgsql@localhost (PostgreSQL): could not connect to server: C=
> onnection refused (0x0000274D/10061)
>  Is the server running on host 192.168.0.1 and accepting  TCP/IP connection=
> s on port 5432?

Did you tell Postgres to accept network connections?  (-i switch on
postmaster command line, or set tcpip_socket true in postgresql.conf;
note you must restart postmaster to make this change effective.)  Keep
in mind also that you will need to change pg_hba.conf to allow such
connections, but it sounds right now like the postmaster isn't listening
on the TCP socket at all.

            regards, tom lane

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

Предыдущее
От: "M. Bastin"
Дата:
Сообщение: Re: connect from network PC
Следующее
От: "V i s h a l Kashyap @ [Sai Hertz And Control Systems]"
Дата:
Сообщение: PostgreSQL 7.4.2 new tables [Stupid Query]