5432

TCP

PostgreSQL

PostgreSQL Database

⚠️ Security: DependsStatus: Active🗄️ Category: Database

📋 Basic Information

Port Number
5432
Protocol
TCP
Service
PostgreSQL
Popularity
🔥 High
Description
PostgreSQL open-source relational database with ACID transactions, complex queries, foreign keys, triggers, views, and JSON support
Tags
databasesqlpostgresql

🔒 Security Information

💡

Security Notes

Do not expose externally, use SSL/TLS connections and strong authentication

🛠️ Installation

🐧Linux

# Ubuntu/Debian
sudo apt update
sudo apt install postgresql postgresql-contrib -y
sudo systemctl start postgresql
sudo systemctl enable postgresql

🐳Docker

docker run -d --name postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 postgres:latest

🔌Connect

psql -h localhost -U postgres

🔗 Related Ports