Обсуждение: BUG #16301: unable to connect to server

Поиск
Список
Период
Сортировка

BUG #16301: unable to connect to server

От
PG Bug reporting form
Дата:
The following bug has been logged on the website:

Bug reference:      16301
Logged by:          boli
Email address:      boli9301@163.com
PostgreSQL version: 12.2
Operating system:   windows 64
Description:

I am in the China. I download the Pgadmin and want to create a server. The
host name is localhost, port is 5432, I also fill other information. Then,
the error is unable to connect server: 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


Re: BUG #16301: unable to connect to server

От
"David G. Johnston"
Дата:
On Fri, Mar 13, 2020 at 8:40 PM PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      16301
Logged by:          boli
Email address:      boli9301@163.com
PostgreSQL version: 12.2
Operating system:   windows 64
Description:       

I am in the China. I download the Pgadmin and want to create a server. The
host name is localhost, port is 5432, I also fill other information. Then,
the error is unable to connect server: 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

Just to be clear, did you also download and install the server?  Creating a server in pgAdmin doesn't actually create a new PostgreSQL server, it create a server profile in pgAdmin that points to a server that is already running.

David J.

Re: BUG #16301: unable to connect to server

От
"David G. Johnston"
Дата:
On Friday, March 13, 2020, Bo Li_Chongqing University <boli9301@163.com> wrote:
Dear David J.
I only download the pgadmin4-4.19-x86.exe and install it. The issue is that it works when I use Pgadmin in UC, Berkeley. 

What works or doesn’t work at school is largely immaterial.  If you want a server on your local machine you need to install it.  PgAdmin is only a client.

David J.