Re: Can not connect remotely

Поиск
Список
Период
Сортировка
От Scott Mead
Тема Re: Can not connect remotely
Дата
Msg-id p2yd3ab2ec81004091018mf7478227gdd536aee19bfb075@mail.gmail.com
обсуждение исходный текст
Ответ на Can not connect remotely  (arya6000 <arya6000@gmail.com>)
Список pgsql-general


On Fri, Apr 9, 2010 at 1:08 PM, arya6000 <arya6000@gmail.com> wrote:

Hello

I have spent hours trying to make this work, but its still not working. I
tried to connect using my Java program and using pgAdmin III. Postgre is
hosted on a Debian 5 64 bit vps and here are the changes I made.

I edited postgresql.conf
and changed

listen_addresses = 'local'

to

listen_addresses = '*'



After that I edited pg_hba.conf and added the following line at the end of
the file

host all all 0.0.0.0/0 md5


and I restarted postgresql by using

Quote:
/etc/init.d/postgresql-8.3 restart


but I always get the following error

Connection refused. Check that the hostname and port are correct and that
the postmaster is accepting TCP/IP connections.

Any idea how I can fix my problem?


Do you have a firewall running?

--Scott
 
Best Regards!
--
View this message in context: http://old.nabble.com/Can-not-connect-remotely-tp28195027p28195027.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: arya6000
Дата:
Сообщение: Can not connect remotely
Следующее
От: Rodrigo Gonzalez
Дата:
Сообщение: Re: Can not connect remotely