connect to database over network

Поиск
Список
Период
Сортировка
От aa nn
Тема connect to database over network
Дата
Msg-id 20030410172734.99018.qmail@web20606.mail.yahoo.com
обсуждение исходный текст
Ответы Re: connect to database over network  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice

Hi,

I am trying to connect to the PostgreSQL 7.3.1 database running  on RH-Linux 8. I already compiled my psql program on my Win XP. When I run the followig command:

psql -h synapse.xxx.xxx.xxx -d myDatabse -U postgres

I got the error message as below:

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. Also, I can ping synapse.xxx.xxx.xxx without any problem. Any suggestions? Thanks.

Wei

 



Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more

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

Предыдущее
От: Himmet Karaman
Дата:
Сообщение: PLEASE HELP ME URGENT about choosing only the ones that i want while entering the data to postgresql with pgaccess on linux or windows or pgadmin II
Следующее
От: Tom Lane
Дата:
Сообщение: Re: connect to database over network