How to Check if a Port Is Open (From Outside Your Network) | Check Host

Learn how to test whether a TCP port such as 22, 443, 3389 or 25565 is open and reachable from the internet, and how to fix the usual reasons it is not.

You started a server, opened a port in your firewall, forwarded it on your router — and nobody can connect. Testing the port from your own machine does not help: it bypasses the router, the ISP and every firewall in between. To know whether a port is really open, you have to test it from the outside.

What "open" actually means

A TCP port is open when something is listening on it and a connection from the internet can complete the TCP handshake. Three things must all be true:

  1. A program is listening on that port, bound to the right interface (not only 127.0.0.1).
  2. The host's firewall allows incoming connections on that port.
  3. Every network device in front of the host — router, NAT, cloud security group — forwards or allows the traffic.

Test it from many countries at once

The port checker attempts a TCP handshake to your host and port from servers around the world and reports the connect time from each. Enter a hostname or IP and a port, for example example.com and 443.

Common ports worth knowing

PortService
22SSH
25 / 587SMTP (mail)
80 / 443HTTP / HTTPS
3306 / 5432MySQL / PostgreSQL
3389Windows Remote Desktop
25565Minecraft Java server

Why a port shows as closed

Only TCP is tested

A TCP check cannot tell you whether a UDP port (DNS on 53, WireGuard, many game servers) is open: UDP has no handshake, so a silent port and a filtered one look the same. Test UDP services with a client for that protocol.