Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question