Port 5432 β€” PostgreSQL

Quick reference for TCP/UDP port 5432, used by PostgreSQL. Includes what the service does, security guidance and related ports.

Port
5432
Protocol
TCP
Service
PostgreSQL

What is port 5432?

PostgreSQL database.

What port does PostgreSQL use?

PostgreSQL listens on port 5432 by default.

Security guidance

High risk β€” do not expose to the internet

Port 5432 (PostgreSQL) is high-risk because the service it carries is a frequent target for credential attacks, brute force or unpatched-vulnerability scanning. Keep it bound to localhost or your VPN, never forward it directly on a router, and require strong authentication.

Related ports

Frequently asked

What is port 5432 used for?+

Port 5432 is the standard TCP/UDP port for PostgreSQL. PostgreSQL database.

What port does PostgreSQL use?+

PostgreSQL listens on port 5432 by default.

PROTECT YOUR PRIVACY

Your IP Address Is Exposed Right Now

Every website you visit can see your real IP address and location. NordVPN encrypts your traffic and hides your identity with military-grade encryption. Stay anonymous online.

Get NordVPN β€” 73% Off30-day money-back guarantee
SECURITY TIP

Using default passwords? Protect your network with NordVPN encryption.