Re: Connection refused (0x0000274D/10061)

Поиск
Список
Период
Сортировка
От Ray O'Donnell
Тема Re: Connection refused (0x0000274D/10061)
Дата
Msg-id 33b9eb3f-278e-977b-1290-a6eddf044c7e@rodonnell.ie
обсуждение исходный текст
Ответ на Connection refused (0x0000274D/10061)  (Sourav Majumdar <souravmajumdar2002@gmail.com>)
Ответы Re: Connection refused (0x0000274D/10061)  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: Connection refused (0x0000274D/10061)  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
On 09/06/2019 20:49, Sourav Majumdar wrote:
> Hello,
> Thanks for your quick response. I am new to pgsql, didnot configured it 
> , can you please give a guidance for that? I will be highly oblised if 
> you can assist me.
> I am using windows 8.1, 64 bit.
> ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]
> Rails 5.2.3
> Trying to setup ruby on rails on my local host

Hi,

PostgreSQL's default port is 5432, and if the Postgres instance on your 
computer is the only one there then that's what it'll be listening on.

I don't know anything about Ruby or how you connect to PG from it, but 
you need to tell it to use port 5432.

Alternatively, if you really want to use port 3000, then you need to 
edit postgresql.conf and change the "port" setting there. You'll need to 
restart PG for this to take effect.

Either way, you need to connect to the port on which PG is listening.

Ray.

-- 
Raymond O'Donnell // Galway // Ireland
ray@rodonnell.ie



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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: unexpected lock waits (was Re: [GENERAL] Do not understand whythis happens)
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Connection refused (0x0000274D/10061)