Common Network Ports at a Glance
Network ports identify the services that applications use to communicate over a network. For example, port 80 is commonly used for HTTP, port 443 for HTTPS, port 22 for SSH, and port 53 for DNS. The port number alone does not tell you whether a service is running or whether it is accessible.
Here are the most important network ports to know, their common protocols, and what they are used for.
Most Common Ports and Their Uses
| Port | Protocol | Common Use | Security Considerations |
|---|---|---|---|
| 20 | TCP | FTP data transfer in active mode | FTP does not encrypt data by default. Prefer secure alternatives. |
| 21 | TCP | FTP control connection for file transfers | FTP credentials and commands may be transmitted in plaintext. Prefer SFTP or FTPS. |
| 22 | TCP | SSH remote administration and SFTP file transfers | Use SSH keys, disable unnecessary password authentication, and restrict access where possible. |
| 23 | TCP | Telnet remote terminal access | Telnet does not encrypt traffic. Use SSH instead. |
| 25 | TCP | SMTP email transfer between mail servers | Restrict mail relay permissions and use appropriate anti-spam controls. |
| 53 | TCP / UDP | DNS domain name resolution | Restrict recursive DNS access to intended clients and prevent unauthorized open resolvers. |
| 67 / 68 | UDP | DHCP server and client communication | Usually limited to local network segments. Protect against rogue DHCP servers. |
| 80 | TCP | HTTP web traffic | HTTP is unencrypted. Use HTTPS to protect web sessions and data in transit. |
| 110 | TCP | POP3 email retrieval | Use encrypted email connections, typically POP3S on port 995 or supported TLS upgrades. |
| 123 | UDP | NTP network time synchronization | Use trusted time sources and avoid exposing unnecessary NTP services to the internet. |
| 143 | TCP | IMAP email access and mailbox synchronization | Use TLS encryption, typically IMAPS on port 993 or a supported STARTTLS connection. |
| 443 | TCP / UDP | HTTPS web traffic over TCP; HTTP/3 over QUIC/UDP | Keep TLS configuration and server software up to date. HTTPS does not automatically make a website trustworthy. |
| 445 | TCP | SMB file sharing and Windows network resources | Do not expose SMB directly to the public internet. Restrict access to trusted networks. |
| 3306 | TCP | MySQL database connections | Keep databases private where possible and restrict access to authorized clients. |
| 3389 | TCP / UDP | RDP Windows Remote Desktop | Avoid direct public exposure. Prefer VPN access, network restrictions, and multi-factor authentication where available. |
| 5900 | TCP, commonly | VNC remote desktop access | Restrict access and use a secure tunnel or VPN when appropriate. |
How to Check If a Port Is Open
Knowing the purpose of a network port is useful, but you may also need to determine whether a service is reachable from another device or from the internet. This is especially important when hosting a website, configuring remote access, or troubleshooting port forwarding.
1. Check whether the service is reachable
An external port checker tests whether a selected port on your public IP address is reachable from the internet. This helps you identify potential connectivity issues without installing software on your computer.
Check a Port on My Public IP →
2. Understand what the result means
- Open: A service is accepting connections on the tested port and protocol.
- Closed: The destination responds, but no service appears to be listening on the tested port.
- Filtered or timed out: A firewall or another network condition may be blocking the test or preventing a clear response.
A port check does not identify every vulnerability or prove that a service is secure. Results also depend on the target IP address, transport protocol, firewall rules, and network configuration.
3. Check your firewall and port forwarding
If a service is not reachable, check that it is running, listening on the expected port, and allowed by the relevant firewall rules. If the service is hosted behind a router, verify that the required port-forwarding rule points to the correct internal device.
If your ISP uses carrier-grade NAT (CGNAT), your router may not have a directly reachable public IPv4 address. In that case, configuring port forwarding on your router alone will usually not make your service accessible from the internet.
Network Port Security Best Practices
Open ports are not necessarily dangerous, but every exposed service should have a clear purpose. Follow these practices to reduce your network's attack surface.
- Disable unnecessary services: Stop services you do not need and close their associated access paths.
- Restrict remote access: Avoid exposing SSH, RDP, VNC, and administrative interfaces directly to the internet when possible.
- Configure firewall rules: Allow only the connections required by your applications and trusted clients.
- Keep services updated: Install security updates and remove unsupported software.
- Review exposed ports: Periodically check whether services are still reachable as intended.
If you have configured a server or router, use our Port Checker to test whether a selected port on your public IP is reachable from the internet.
Frequently Asked Questions About Network Ports
What are the most common network ports?
Common network ports include 21 for FTP, 22 for SSH, 25 for SMTP, 53 for DNS, 80 for HTTP, 443 for HTTPS, 445 for SMB, and 3389 for Remote Desktop. The ports you need depend on the services running on your system.
What is the difference between port 80 and port 443?
Port 80 is traditionally used for HTTP, while port 443 is traditionally used for HTTPS. HTTPS protects web traffic using TLS. HTTP/3 is an exception to the traditional TCP-based web traffic model because it uses QUIC over UDP.
Is port 80 open by default?
There is no universal default. Port 80 may be accessible when a web server is running and network rules permit the connection. A device without a listening web service will not necessarily accept connections on port 80.
How can I check whether a port is open?
You can test a port from another machine or use an external port checker to test reachability from the internet. The result depends on the destination IP, the service, firewalls, and any NAT or port-forwarding rules.
Should I close unused network ports?
Yes. Disable unnecessary services and restrict access to ports that must remain available. Use firewall rules to limit connections to trusted hosts or networks wherever possible.
Does an open port mean my computer has been hacked?
No. An open port may be associated with a legitimate service. However, unexpected exposed services should be investigated. Identify the listening application and review its firewall rules before deciding whether the port should remain accessible.
What is the difference between TCP and UDP ports?
TCP and UDP are separate transport protocols that use port numbers to identify services. TCP provides a reliable, ordered byte stream, while UDP sends independent datagrams without TCP's built-in delivery guarantees. A service may use one or both protocols, depending on its design.