From: | Ray O'Donnell <ray(at)rodonnell(dot)ie> |
---|---|
To: | Sourav Majumdar <souravmajumdar2002(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Connection refused (0x0000274D/10061) |
Date: | 2019-06-09 19:43:07 |
Message-ID: | 669cf8ed-877e-4420-3b60-f4e112ad8208@rodonnell.ie |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Sourav Majumdar | 2019-06-09 19:49:56 | Re: Connection refused (0x0000274D/10061) |
Previous Message | Adrian Klaver | 2019-06-09 19:29:11 | Re: Connection refused (0x0000274D/10061) |