↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Configuration Parameters

port

The TCP port the server listens on; 5432 by default. Note that the same port number is used for all IP addresses the server listens on. This parameter can only be set at server start.

English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

boot val
5432
category
Connections and Authentication / Connection Settings
context
postmaster
documented
true
enumvals
Unknown
extra desc
Unknown
lang
en
max val
65535
metadata version
18
min val
1
name
port
short desc
Sets the TCP port the server listens on.
source
pg-settings-source-snapshot
unit
Unknown
vartype
integer

Definition PG 18

The TCP port the server listens on; 5432 by default. Note that the same port number is used for all IP addresses the server listens on. This parameter can only be set at server start.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:e8d95ab25450a5ddf66a3736d494b619a1a3b3e07d04f217f91765da523a59e9

Text language: en · wiki-repair-20261023:e8d95ab25450a5ddf66a3736d494b619a1a3b3e07d04f217f91765da523a59e9