📚Dev Reference

Common Port Numbers

Standard ports for web and network services.

Explanation

Port numbers identify specific processes or types of network services.

Examples

HTTP
Output
80
HTTPS
Output
443
SSH
Output
22

Code Examples

Common Ports
22   - SSH
25   - SMTP (Mail)
80   - HTTP
443  - HTTPS
3000 - Dev server (Default)
3306 - MySQL
5432 - PostgreSQL
6379 - Redis

💡 Tips

  • Ports 0-1023 are "well-known" and require root privileges
  • Custom apps usually use ports above 3000
  • Always use 443 (HTTPS) for production web traffic

⚠️ Common Pitfalls

  • Leaving database ports (3306, 5432) open to the public internet