Open Port Checker

Enter a domain or public IP, pick up to 10 TCP ports, and see how each one answers from outside your network. Made for port forwarding checks on game servers, Plex, SSH, and mail hosts.

A pasted URL gets trimmed to its host. Private addresses such as 192.168.x.x get refused.

Up to 10 ports. Separate with commas or spaces, ranges use a dash.

Results show here, one row per port. Load sample fills in toolexe.com with four ports, two of them meant to stay shut.

Three answers a port gives back

The checker opens a TCP connection from a Toolexe server to your target, the same first step a browser or game client takes. What comes back in the first three seconds decides the label.

Open

The target finished the handshake (SYN, SYN-ACK, ACK).

A program listens on the port and nothing between here and there blocks it. The ms figure is the handshake time, a rough round trip from the checker to your host.

Refused

The target replied with a TCP reset (RST).

The packet arrived, so routing and forwarding work. No program listens on the port, or the firewall uses a reject rule. Start the service or check its port setting.

No response

Three seconds of silence.

Something dropped the packet without a word. Usual suspects: a router with no forwarding rule, a host firewall, a cloud security group, or a machine turned off.

Port forwarding still failing? Check in this order

Each step below fixes a problem the next step depends on, so skipping ahead wastes time. The examples use 25565, the Minecraft Java port. Swap in your own number.

  1. The server listens on every interface

    Run this on the machine hosting the service:

    # Linux
    ss -tlnp | grep 25565
    
    # Windows
    netstat -ano | findstr :25565

    Look for 0.0.0.0:25565 or [::]:25565. A line showing 127.0.0.1:25565 means the program accepts local connections only. Change its bind address, often a server-ip or bind setting, to blank or 0.0.0.0. No line at all means the program is not running.

  2. The host firewall lets the port in

    # Ubuntu with ufw
    sudo ufw allow 25565/tcp
    
    # Windows, PowerShell as administrator
    New-NetFirewallRule -DisplayName "Game server" -Direction Inbound -Protocol TCP -LocalPort 25565 -Action Allow

    On a cloud VM, the provider adds a second firewall in front of the machine: security groups on AWS, firewall rules on Google Cloud, cloud firewalls on DigitalOcean and Hetzner. Open the port there too.

  3. The router forwards to the right LAN address

    The forwarding rule points at a LAN IP such as 192.168.1.40. If the machine gets its address from DHCP, a reboot hands it a new one and the rule points at nothing. Set a DHCP reservation in the router for the machine's MAC address.

  4. Your router holds a real public IP

    Open the router status page and read the WAN address. Compare it with the IP shown here after a Test my own connection run. If the router shows 100.64.x.x to 100.127.x.x, or a 10.x address, your ISP puts you behind carrier-grade NAT. No forwarding rule on your router reaches the internet in this setup. Ask the ISP for a public IPv4 address, or run a tunnel service on the server.

  5. The ISP does not block the port

    Residential ISPs often block inbound 25, 80, and 445, and some block 443. If every other step checks out and a low port stays silent, move the service to a high port such as 8443 and test again.

Testing your own public IP from inside the LAN gives false failures

A phone on Wi-Fi connecting to your public IP has to loop back through the router. Many routers do not support this, called NAT loopback or hairpinning, so the test fails while outside players connect fine. This checker sits outside your network, which sidesteps the problem.

Open ports worth a second look

An open result is good news for a game server and bad news for a database. If one of these shows open on an internet-facing host, confirm the exposure is on purpose.

PortServiceWhy an open result matters
22SSHNormal on servers. Bots start guessing passwords within minutes of exposure. Use key login and turn off password auth.
23TelnetSends passwords in plain text. Old routers and IoT cameras still ship with it on. Close it and use SSH.
445SMBWindows file sharing. WannaCry spread over this port in 2017. Never expose it to the internet.
3306, 5432MySQL, PostgreSQLWeb apps reach the database over localhost or a private network. Bind to 127.0.0.1 or a private IP instead.
3389RDPA leading ransomware entry point. Put Remote Desktop behind a VPN or a gateway with multi-factor login.
6379RedisOlder installs run with no password. An open Redis port lets anyone read your data and, in some setups, write files on the server.
9200ElasticsearchBehind many large data leaks. Versions before 8.0 shipped with security off by default.
27017MongoDBSame story as Redis. Unauthenticated instances get wiped and held for ransom by automated scripts.

The same test from a terminal

These commands run from your machine, so they test the path out from your network. For a home server, the useful test comes from outside, which is what this page does. For servers in a data center, the terminal works fine.

macOS and Linux

nc -vz -w 3 toolexe.com 443

succeeded matches Open here. Connection refused matches Refused. A timeout matches No response.

Windows PowerShell

Test-NetConnection toolexe.com -Port 443

Read the TcpTestSucceeded line. False covers both refused and silent ports, so the output does not tell them apart.

Whole port ranges

nmap -Pn -p 1-1024 toolexe.com

nmap reports open, closed, and filtered, the same three states. Scan hosts you own or have written permission to test.

What the checker does not cover

  • UDP. No handshake means no reliable answer. WireGuard, most game voice traffic, and DNS lookups over UDP need a test from a real client.
  • More than 10 ports per check. Each visitor also gets 20 checks a minute. For a full sweep of your own server, use nmap.
  • Origins behind a proxy. A domain on Cloudflare or another CDN resolves to the proxy, which answers on web ports and drops the rest. Test the origin IP for SSH or mail.
  • Every DNS record. A domain with several A records gets tested on the first public one. IPv6 gets used only when the domain has no IPv4 record.
  • Internal networks. Private, loopback, link-local, and carrier NAT addresses get refused before any connection starts.
  • Other vantage points. The test leaves from one Toolexe server. A firewall allowing only certain countries or IP lists gives different answers to visitors elsewhere.
  • Service identity. The service name comes from the port number alone. An open 3306 running something other than MySQL still shows MySQL.

Port checker questions

Forwarding problems, result labels, and what the test leaves out.

How do I check if a port is open on my home router?

Tick Test my own connection, type the port your router forwards, and press Check ports. Run the check from a device on the same network as the server, so the request leaves from the public IP the router holds. Open means the forwarding rule, the host firewall, and the server program all line up.

Why does the checker report no response when the server works on my LAN?

Inside the LAN, traffic never touches the router forwarding rule or the ISP. From outside, three things block it most often: a missing forwarding rule, a host firewall dropping the packet, or carrier-grade NAT at the ISP. Work through the checklist on this page in order.

What is the difference between refused and no response?

Refused means the packet reached the machine and the machine answered with a TCP reset, so nothing listens on the port or a firewall rejects it outright. No response means three seconds passed without any reply. A firewall dropping the packet, a router without a forwarding rule, or a host turned off all look like this.

Does the checker test UDP ports?

No. UDP has no handshake, so a silent UDP port looks the same whether a service listens or not. For WireGuard on 51820, game voice chat, or DNS over UDP, test from a real client outside your network, such as a phone on mobile data.

Is checking ports on a server legal?

Testing a few ports on servers you run or manage is routine admin work. Sweeping other networks without permission breaks the terms of most hosting providers and, in some countries, computer misuse laws. The checker caps each request at 10 ports and each visitor at 20 checks a minute for this reason.

Why do my domain and its IP give different results?

A domain behind a CDN or proxy, such as Cloudflare with the orange cloud on, resolves to the proxy edge. The edge answers on 80 and 443 and drops everything else. Test the origin server IP to see SSH, mail, or game ports.