Wednesday, October 30, 2024

JavaScript Web Concepts, Part3 - Default Ports

What are different default ports for different schema?
Different schemes (protocols) use specific default ports that allow clients and servers to communicate over a network. Here are some common schemes and their default ports:
  • HTTP (Hypertext Transfer Protocol):
    • Default Port: 80
    • Used for unsecured web traffic.
  • HTTPS (Hypertext Transfer Protocol Secure):
    • Default Port: 443
    • Used for secured, encrypted web traffic with SSL/TLS.
  • FTP (File Transfer Protocol):
    • Default Port: 21 (control connection)
    • Port 20 is often used for active data transfers.
  • SMTP (Simple Mail Transfer Protocol):
    • Default Port: 25
    • Used for sending emails.
  • IMAP (Internet Message Access Protocol):
    • Default Port: 143 (unencrypted)
    • Port 993 is used for IMAP over SSL (IMAPS).
  • POP3 (Post Office Protocol 3):
    • Default Port: 110 (unencrypted)
    • Port 995 is used for POP3 over SSL (POP3S).
  • SSH (Secure Shell):
    • Default Port: 22
    • Used for secure remote access and file transfers (SFTP).
  • Telnet:
    • Default Port: 23
    • Used for unencrypted remote access (mostly outdated and replaced by SSH).
  • DNS (Domain Name System):
    • Default Port: 53
    • Used for translating domain names to IP addresses.
  • MySQL:
    • Default Port: 3306
    • Used for connecting to MySQL databases.
  • PostgreSQL:
    • Default Port: 5432
    • Used for connecting to PostgreSQL databases.
  • LDAP (Lightweight Directory Access Protocol):
    • Default Port: 389 (unencrypted)
    • Port 636 is used for LDAP over SSL (LDAPS).
  • RDP (Remote Desktop Protocol):
    • Default Port: 3389
    • Used for remote desktop connections.
  • MSSQL (Microsoft SQL Server):
    • Default Port: 1433
  • NTP (Network Time Protocol):
    • Default Port: 123
    • Used for synchronizing time across systems.

These default ports help streamline network communication, but ports can be configured differently if needed.

No comments:

Post a Comment

Hot Topics