From: | Sourav Majumdar <souravmajumdar2002(at)gmail(dot)com> |
---|---|
To: | "Ray O'Donnell" <ray(at)rodonnell(dot)ie> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Connection refused (0x0000274D/10061) |
Date: | 2019-06-09 19:49:56 |
Message-ID: | CAMHKnAnjv_CcLemuXmQEg1JVMFPDAfSO56UKOZhDEpqH-MZTXA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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
On Mon, Jun 10, 2019 at 1:13 AM Ray O'Donnell <ray(at)rodonnell(dot)ie> wrote:
> On 09/06/2019 19:51, Sourav Majumdar wrote:
> >
> > could not connect to server: Connection refused (0x0000274D/10061)
> > Is the server running on host "localhost" (::1) and accepting TCP/IP
> > connections on port 5432? could not connect to server: Connection
> > refused (0x0000274D/10061) Is the server running on host "localhost"
> > (127.0.0.1) and accepting TCP/IP connections on port 5432?
>
> Hi there,
>
> From the above, you have the server listening on port 3000 (you would
> have set this in postgresql.conf - did you?), but the client is trying
> to connect on port 5432 (the default).
>
> You therefore need to tell the client to connect to port 3000 - if you
> are using psql, you need the -p option:
>
> psql -p 3000 (... etc ...)
>
> HTH,
>
> Ray.
>
> --
> Raymond O'Donnell // Galway // Ireland
> ray(at)rodonnell(dot)ie
>
--
*Regards-*
*Sourav Majumdar*
*Mob.- 9732354141*
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2019-06-09 20:22:44 | Re: unexpected lock waits (was Re: [GENERAL] Do not understand why this happens) |
Previous Message | Ray O'Donnell | 2019-06-09 19:43:07 | Re: Connection refused (0x0000274D/10061) |