Port

Port 5432 — PostgreSQL

Port 5432 (TCP) is used by PostgreSQL. PostgreSQL database.

Port 5432 at a glance

PropertyValue
Port number5432
TransportTCP
ServicePostgreSQL
CategoryRegistered port

What it is used for

PostgreSQL database.

Security considerations

Restrict to trusted hosts; never public.

See our full TCP/UDP port reference and learn how firewalls filter ports in the CyberOps course.

Frequently asked questions

What is port 5432 used for?

Port 5432 (TCP) is used by PostgreSQL. PostgreSQL database.

Is port 5432 TCP or UDP?

Port 5432 uses TCP.

Is it safe to open port 5432?

Restrict to trusted hosts; never public.

Learn networking hands-on

Master IP addressing, subnetting and Cisco configuration on real lab devices with placement support at Attila Technologies, Ahmedabad.

Start your networking career with Attila Technologies

Hands-on Cisco training, real lab devices and placement support in Ahmedabad.