A port number identifies a specific application or service on a networked device. Every internet connection uses two addresses: an IP address (which device) and a port number (which service on that device). This directory covers the most important port numbers — what they do, their security risk level, and when to close them.

Quick Reference — Most Common Ports

PortServiceProtocolRiskStatus
21FTPFile Transfer🔴 HighClose unless needed
22SSHSecure Shell🟡 MediumHarden if open
23TelnetRemote Access🔴 CriticalClose immediately
25SMTPEmail Sending🟡 MediumMail servers only
53DNSDomain Name System🟡 MediumDNS servers only
80HTTPWeb Traffic🟢 LowOK on web servers
110POP3Email Retrieval🔴 HighUse port 995 instead
143IMAPEmail Access🔴 HighUse port 993 instead
443HTTPSSecure Web🟢 LowStandard for websites
445SMBWindows File Share🔴 CriticalNever expose publicly
3306MySQLDatabase🔴 CriticalNever expose publicly
3389RDPRemote Desktop🔴 CriticalUse VPN instead
6379RedisCache Database🔴 CriticalNever expose publicly

Web Ports

These ports handle HTTP and HTTPS web traffic. Almost every public website uses at least port 443.

Mail Ports

Email uses separate ports for sending and receiving, and for encrypted vs unencrypted connections.

Remote Access Ports

These ports allow remote control of computers and servers. They are among the most attacked ports on the internet.

  • Port 22 — SSH: Secure remote command-line access. Use key-based authentication only.
  • Port 23 — Telnet: Unencrypted remote access. Should never be used on modern systems.
  • Port 3389 — RDP: Windows Remote Desktop. Constantly targeted by brute-force attacks. Use a VPN instead of exposing this port.
  • Port 5900 — VNC: Cross-platform remote desktop. Never expose to the internet without a VPN.
  • Port 1723 — PPTP: Outdated VPN tunnel protocol. Use WireGuard or OpenVPN instead.

Database Ports

Database ports should never be directly exposed to the public internet. Use SSH tunnels or a VPN for remote database access.

Network & System Ports

  • Port 53 — DNS: Domain Name System. Should only be open on intentional public DNS servers.
  • Port 445 — SMB: Windows file sharing. Was exploited by WannaCry ransomware. Never expose to the internet.

How to Check Which Ports Are Open on Your IP

Use the ExamineIP Port Scanner to scan your public IP address and see exactly which ports are visible from the internet. The scanner performs real TCP connection tests from an external server — showing what attackers actually see when they scan your IP.

How to Protect Open Ports

If you need remote access to your server or home network, the safest approach is to use a VPN instead of exposing ports directly:

  • PureVPN — creates an encrypted tunnel to your network so you can access services without opening any ports to the internet
  • IPVanish — unlimited connections, supports router-level VPN so all devices are protected

A VPN also hides your real IP address, making it much harder for attackers to identify and target your device in the first place.

Related Tools & Guides

Scroll to Top