BUG #16301: unable to connect to server

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

BUG #16301: unable to connect to server

apt.postgresql.org Repository Update
The following bug has been logged on the website:

Bug reference:      16301
Logged by:          boli
Email address:      [hidden email]
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

Reply | Threaded
Open this post in threaded view
|

Re: BUG #16301: unable to connect to server

David G Johnston
On Fri, Mar 13, 2020 at 8:40 PM PG Bug reporting form <[hidden email]> wrote:
The following bug has been logged on the website:

Bug reference:      16301
Logged by:          boli
Email address:      [hidden email]
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.
Reply | Threaded
Open this post in threaded view
|

Re: BUG #16301: unable to connect to server

David G Johnston
On Friday, March 13, 2020, Bo Li_Chongqing University <[hidden email]> 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.