A
A
A__B2020-07-11 12:15:07
PostgreSQL
A__B, 2020-07-11 12:15:07

Why doesn't PostgreSQL connect to a port other than 5432?

It is necessary to install PostgreSQL11.8 on Windows Server 2012 R2, while connecting to the database on port 5442. The distribution kit is taken from EnterpriseDB.
The problem is that when executing the
psql -U postgres command
, a connection error occurs on port 5432, i.e. for some reason it tries to connect to port 5432. If you explicitly specify port -p 5442, everything works.
Port 5442 was specified at the installation stage and is registered in postgresql.conf (the service was restarted).
How to configure connection to port 5442 by default?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-07-11
@dimonchik2013

Port 5442 was specified at the installation stage and is registered in postgresql.conf (the service was restarted).

you settings of the client differ from settings of the server?
one program from another program?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question