You don't have javascript enabled. Please enable javascript to use this website.

Open Port Checker

Tests whether a specific TCP port on any hostname or IP address is open and accepting connections from the public internet.
More Tools

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 testedTCP only — via socket connection (RFC 9293)
Connection timeout4 seconds per test
Supported targetsIPv4, IPv6, and hostnames
Valid port range1–65535
OPEN resultTCP handshake completed — port accepted the connection
CLOSED resultConnection refused (TCP RST) — host reachable, nothing listening
FILTERED resultNo response within 4 seconds — packets dropped, usually by a firewall
Private and reserved IPsNot 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.

1

Enter a Host or IP Address

Enter any IPv4 address, IPv6 address, or hostname into the host field. The tool pre-fills your current public IP for instant port forwarding tests.
2

Enter a Port Number

Enter any port from 1 to 65535, or select a preset — SSH (22), HTTP (80), HTTPS (443), MySQL (3306), RDP (3389), and more.
3

Click Check Port

Click Check Port. The tool initiates a TCP socket connection from an external server to the target host and port with a 4-second timeout.
4

Read the Result

OPEN means the TCP handshake completed and a service accepted the connection. CLOSED means the host answered but nothing listens on that port. FILTERED means no answer within 4 seconds, usually a firewall dropping the packets.
5

Verify Port Forwarding

To confirm a port forwarding rule, enter your public IP (pre-filled) and the forwarded port number. OPEN confirms the rule is routing inbound traffic correctly.

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.

Open, closed and filtered ports Our server sends a TCP SYN to port 443 of the target. A SYN-ACK reply means open, an RST reply means closed, and no reply within 4 seconds means filtered. Our serversends TCP SYN Reply: SYN-ACK Reply: RST (reset) No reply within 4 s Open Closed Filtered
The three results of a port check: open (a service answered), closed (the host refused), filtered (no answer, usually a firewall dropping the packets).
  • 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 the telnet command and nc -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 -sU from 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
21FTPFile Transfer Protocol — control channel
22SSHSecure Shell — encrypted remote server administration
23TelnetUnencrypted remote terminal — legacy; avoid exposing publicly
25SMTPEmail receiving — commonly blocked by ISPs on residential connections
53DNSDomain Name System — UDP and TCP; TCP used for zone transfers
80HTTPUnencrypted web traffic
110POP3Email retrieval — legacy mail clients
143IMAPEmail retrieval — modern multi-device mail clients
443HTTPSEncrypted web traffic — TLS handshake on port 443
445SMBWindows file sharing — block at perimeter; frequent exploit target
465SMTPSSMTP over implicit TLS — email submission (legacy)
587SMTP SubmissionAuthenticated email sending with STARTTLS — preferred over port 25
993IMAPSIMAP over TLS — required by modern mail clients
995POP3SPOP3 over TLS
1433MSSQLMicrosoft SQL Server — must not be open to the public internet
3306MySQLMySQL database — must not be open to the public internet
3389RDPWindows Remote Desktop — high-value attack target; restrict by IP
5432PostgreSQLPostgreSQL database — must not be open to the public internet
5900VNCRemote desktop (VNC) — tunnel over SSH; do not expose directly
6379RedisRedis in-memory store — must not be internet-exposed; no auth by default
8080HTTP AlternateAlternative HTTP port — common for development servers and proxies
8443HTTPS AlternateAlternative HTTPS port — common for admin panels and control interfaces
27017MongoDBMongoDB 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?
An open port accepts TCP connections — the remote host responded with a TCP SYN-ACK, completing the three-way handshake. A closed port actively refuses the connection — the remote host responded with a TCP RST (reset) packet immediately. A filtered port is blocked by a firewall that silently drops incoming packets — the connection receives no response and times out. This tool reports the three states separately: OPEN, CLOSED (TCP reset received) and FILTERED (no response within 4 seconds).
How accurate is the Open Port Checker?
The result accurately reflects whether a TCP connection from an external server can reach the specified port at the moment of the test. A port may appear open from this tool but be blocked for specific source IPs by firewall rules — results represent reachability from this tool's server, not from every possible origin. Transient network conditions, rate limiting, or DDoS protection systems may also cause a genuinely open port to appear temporarily closed.
Why is my port showing CLOSED or FILTERED when my service is running?
The most common causes are: the application is not running or not listening on the specified port; a local firewall (Windows Defender Firewall, iptables, or ufw) is blocking inbound connections; the router's port forwarding rule points to the wrong internal IP or port; or the ISP is blocking the port at the network level — ISPs commonly block port 25 (SMTP) and port 445 (SMB) on residential connections. If your ISP uses Carrier-Grade NAT (CGNAT, RFC 6598), inbound port forwarding will not work even if your router is configured correctly — your router receives a private IP in the 100.64.0.0/10 range from the ISP rather than a true public IP, so inbound connections cannot reach it. Check whether your pre-filled IP starts with 100.64–100.127 to identify CGNAT. If testing your own connection, confirm the pre-filled IP is a public address and not a private RFC 1918 address (10.x.x.x, 172.16–31.x.x, 192.168.x.x) — private IPs are never reachable from the internet, so this tool does not accept them.
How do I test port forwarding on my router?
Start the service that should be listening on the forwarded port — for example, a web server on port 80 or an SSH daemon on port 22. Enter your router's public IP address (pre-filled in this tool) and the forwarded port number, then click Check Port. An OPEN result confirms the forwarding rule is correctly routing inbound traffic from the internet to your internal server. If the result is CLOSED, check that the internal IP in the forwarding rule matches the current local IP of the target device, and that the service is bound to 0.0.0.0 rather than 127.0.0.1.
Does this tool support UDP port checking?
No — the tool tests TCP ports only, using a direct socket connection attempt (RFC 9293). UDP port checking requires a different method: sending a UDP datagram and waiting for an ICMP port-unreachable response, which most firewalls suppress, making remote UDP testing unreliable. For UDP port verification, use a local tool such as nmap -sU run from within your network.
Do you log or store the IP addresses and ports I check?
IP addresses and port numbers submitted to this tool are not logged or stored. Each check is a stateless TCP connection attempt — no persistent record of inputs or results is retained after the request completes. No account is required and no tracking cookies are set for tool usage.