Skip to main content

Port Management in the PostgreSQL Ecosystem

Below are the default ports used by the PostgreSYS Platform components:

ComponentDescriptionDefault PortTypeNotes
PgSmart Agent ServicePgSmart Agent Service4432TCPConfigurable port.
PostgreSQL DatabaseDatabase Management System5432TCPDefault port.
PostGISExtension for geospatial data in PostgreSQL5432TCPNot applicable.
pgBackRestBackup and restore management22TCPUses SSH (22) or STUNNEL for secure communication. A different port can be set.
WAL-E/WAL-GWrite-Ahead Log backup and restore22TCPPort 22 (SSH) is used only if backup configuration is via SSH. If via HTTP/HTTPS, ports 80 (HTTP) and 443 (HTTPS) will be used.
pgBouncerConnection Pool6432TCPConfigurable port.
PatroniHigh Availability management and monitoring8008TCPREST API, configurable.
etcdDistributed Configuration Directory2379, 2380TCP/UDPConfigurable port.
HAProxyConnection proxy and load balancing80, 443, 7000TCPConfigurable port.
PrometheusMonitoring and alerting system9090TCPConfigurable port.
GrafanaAnalytics and monitoring platform3000TCPConfigurable port.
AlertmanagerAlert manager for Prometheus9093TCPConfigurable port.
KarmaUI for managing Alertmanager alerts9095TCPConfigurable port.
Prometheus ExporterMetrics exporter for Prometheus Service9090TCPConfigurable port.
Karma ExporterMetrics exporter for Karma Service9095TCPConfigurable port.
Alertmanager ExporterMetrics exporter for Alertmanager Service9093TCPConfigurable port.
Grafana ExporterMetrics exporter for Grafana Service3000TCPConfigurable port.
Patroni ExporterMetrics exporter for Patroni Service8008TCPConfigurable port.
etcd ExporterMetrics exporter for etcd Service2379TCPConfigurable port.
HAProxy ExporterMetrics exporter for HAProxy Service8405TCPConfigurable port.
Node ExporterOS Metrics Exporter9100TCPConfigurable port.
PostgreSQL ExporterMetrics exporter for PostgreSQL Service9187TCPConfigurable port.
pgBouncer ExporterMetrics exporter for pgBouncer Service9127TCPConfigurable port.
pgBackRest ExporterMetrics exporter for pgBackRest Service9854TCPConfigurable port.
note

In addition to the default ports, the HAProxy component will also use the port specified during the database access configuration. Refer to the HAProxy documentation for more details.