Open Port Checker |
What Is an Open Port Checker?
An open port checker tries to reach a TCP port from the internet, outside your network. It tells you whether a service on that port can be reached, which is the test you need after setting up port forwarding.
An open port checker tests whether a specific TCP port is reachable on a remote host by attempting a socket connection (RFC 9293) with a fixed timeout. In plain terms: it checks whether a device on the internet is accepting connections on a specific port — the same check your browser makes every time you load a website. The tool accepts any IPv4 address, IPv6 address, or hostname and returns an open or closed status based on whether the TCP three-way handshake completes within 4 seconds. It also tells a closed port (the host answers with a TCP reset) apart from a filtered one (no answer at all, usually a firewall silently dropping the packets).
| Parameter | Detail |
|---|---|
| Protocol tested | TCP only — via socket connection (RFC 9293) |
| Connection timeout | 4 seconds per test |
| Supported targets | IPv4, IPv6, and hostnames |
| Valid port range | 1–65535 |
| OPEN result | TCP handshake completed — port accepted the connection |
| CLOSED result | Connection refused (TCP RST) — host reachable, nothing listening |
| FILTERED result | No response within 4 seconds — packets dropped, usually by a firewall |
| Private and reserved IPs | Not accepted — RFC 1918, loopback and other non-public addresses are not reachable from the internet |
| CGNAT (RFC 6598) | 100.64.0.0/10 range — port forwarding impossible; contact ISP |
How to Use the Open Port Checker
Test whether a TCP port is open or closed on any host or IP address in seconds.
Enter a Port Number
Click Check Port
Read the Result
Verify Port Forwarding
How the Port Checker Works
The checker opens a TCP connection from our server. If the handshake completes, the port is open; a reset (RST) means closed; no answer within 4 seconds means filtered, usually by a firewall.
-
TCP socket connection attempt.
The tool calls Java's
Socket.connect()targeting the specified host and port with a 4-second timeout. If the TCP handshake — SYN, SYN-ACK, ACK — completes within that window, the port is reported as OPEN. If the host answers with a reset (RST), the port is reported as CLOSED. If the timeout elapses with no response, it is FILTERED. This is the same method used by thetelnetcommand andnc -zv. - OPEN vs CLOSED vs FILTERED. A closed port returns an immediate TCP RST, so the tool reports CLOSED: the host is reachable but no service listens on that port. A filtered port drops the packet silently, so the attempt times out after 4 seconds and the tool reports FILTERED: a firewall or a missing port forwarding rule is the most likely cause. A very slow or overloaded host can also appear FILTERED.
-
TCP only — no UDP support.
UDP port checking requires sending a datagram and waiting for an ICMP port-unreachable
response, which most firewalls suppress. This makes remote UDP testing unreliable and
is not supported. For UDP port verification, use
nmap -sUfrom within your local network. - External test point — not from your local network. The connection originates from this tool's server, not from your device. The result reflects port reachability from the public internet — exactly what is needed for port forwarding verification and firewall auditing. Internal services not exposed to the internet will appear CLOSED or FILTERED from this tool.
Do it yourself
How to Check If a Port Is Open Without an Online Tool
Every major operating system provides command-line tools for TCP port reachability testing. These commands run from your local machine — useful for checking internal services or diagnosing connectivity from a specific origin network.
Mac / Linux Netcat
nc -zv example.com 443
The -z flag scans without sending data; -v prints a human-readable
result. Output: Connection to example.com 443 port [tcp/https] succeeded! for an
open port, or Connection refused for a closed one.
Mac / Linux curl (any TCP port)
curl -v --connect-timeout 3 telnet://example.com:22
Uses curl's telnet scheme for a raw TCP connection — works for any port, not just HTTP.
Replace 22 with the target port number. Useful on systems where netcat is not installed.
Windows PowerShell
Test-NetConnection -ComputerName example.com -Port 443
Built into Windows 8 / Server 2012 and later. Returns TcpTestSucceeded : True
for an open port. No additional software required.
Windows Command Prompt
telnet example.com 443
Enable the Telnet client first: Control Panel → Programs → Turn Windows features on or off → Telnet Client. A blank screen after connecting indicates the port is open; an error message means the port is closed or filtered.
The online tool tests from an external server — results may differ from local commands if firewall rules apply source-IP filtering, or if the target service binds only to specific network interfaces.
Common TCP Port Numbers Reference
Port numbers are assigned by IANA (Internet Assigned Numbers Authority) and divided into three ranges: well-known ports (0–1023) reserved for standard services, registered ports (1024–49151) assigned to specific applications, and dynamic or ephemeral ports (49152–65535) used by clients for outbound connections.
| Port | Service | Use Case |
|---|---|---|
| 21 | FTP | File Transfer Protocol — control channel |
| 22 | SSH | Secure Shell — encrypted remote server administration |
| 23 | Telnet | Unencrypted remote terminal — legacy; avoid exposing publicly |
| 25 | SMTP | Email receiving — commonly blocked by ISPs on residential connections |
| 53 | DNS | Domain Name System — UDP and TCP; TCP used for zone transfers |
| 80 | HTTP | Unencrypted web traffic |
| 110 | POP3 | Email retrieval — legacy mail clients |
| 143 | IMAP | Email retrieval — modern multi-device mail clients |
| 443 | HTTPS | Encrypted web traffic — TLS handshake on port 443 |
| 445 | SMB | Windows file sharing — block at perimeter; frequent exploit target |
| 465 | SMTPS | SMTP over implicit TLS — email submission (legacy) |
| 587 | SMTP Submission | Authenticated email sending with STARTTLS — preferred over port 25 |
| 993 | IMAPS | IMAP over TLS — required by modern mail clients |
| 995 | POP3S | POP3 over TLS |
| 1433 | MSSQL | Microsoft SQL Server — must not be open to the public internet |
| 3306 | MySQL | MySQL database — must not be open to the public internet |
| 3389 | RDP | Windows Remote Desktop — high-value attack target; restrict by IP |
| 5432 | PostgreSQL | PostgreSQL database — must not be open to the public internet |
| 5900 | VNC | Remote desktop (VNC) — tunnel over SSH; do not expose directly |
| 6379 | Redis | Redis in-memory store — must not be internet-exposed; no auth by default |
| 8080 | HTTP Alternate | Alternative HTTP port — common for development servers and proxies |
| 8443 | HTTPS Alternate | Alternative HTTPS port — common for admin panels and control interfaces |
| 27017 | MongoDB | MongoDB database — must not be internet-exposed; no auth by default |
Ports 1433, 3306, 5432, 5900, 6379, and 27017 should never be open on the public internet without strict firewall rules restricting access to known IP addresses. If this checker shows these ports as OPEN on a production server, review firewall configuration immediately.
Common Uses for Open Port Checker
Verifying port forwarding after router configuration. A home server administrator sets up a port forwarding rule on their router to expose a Minecraft server on port 25565. After saving the rule, they run the port checker with their public IP pre-filled and port 25565 to confirm external traffic is being correctly routed to the internal server. A CLOSED result immediately identifies whether the problem is the forwarding rule, the local firewall, or the application not listening on 0.0.0.0.
Auditing firewall rules after cloud server deployment. A DevOps engineer deploys a new cloud server and needs to confirm only the expected ports are reachable: 22 (SSH), 80 (HTTP), and 443 (HTTPS). Running the port checker against database ports 3306, 5432, and 6379 verifies the security group or iptables rules are enforced correctly from an external perspective — more reliable than checking locally where rules may differ by network interface.
Diagnosing email delivery failures. A mail server administrator experiencing SMTP delivery rejections uses the port checker to verify port 25 is open on the mail server's public IP. A CLOSED result on port 25 while port 587 is open indicates the ISP is blocking inbound SMTP — a common restriction on residential and shared hosting connections. The next diagnostic steps are to verify the server's PTR record using Reverse DNS Lookup and confirm the sending IP is not listed on a DNSBL using the IP Blacklist Checker.
Frequently Asked Questions
What is the difference between an open, closed, and filtered port?
How accurate is the Open Port Checker?
Why is my port showing CLOSED or FILTERED when my service is running?
How do I test port forwarding on my router?
Does this tool support UDP port checking?
nmap -sU run from within your network.