How to Check If a Port Is Open

Published ยท 5 min read

You're trying to set up a game server, access a remote machine, or troubleshoot why an app can't connect. The first question is usually: is the port actually open? Here's everything you need to know about checking ports and what the results mean.

What Are Ports?

If an IP address is like a street address, a port is like a specific door in the building. Each networked device has 65,535 available ports, and different services use different ports to communicate. When you visit a website, your browser connects to port 443 (HTTPS). When you send an email, your mail client connects to port 587 (SMTP).

A port can be in one of three states:

Common Port Numbers

These are the ports you'll encounter most often:

How to Check a Port

From your iPhone

Open PingKit and use the Port Scanner tool. Enter the hostname or IP address and specify the port or range of ports you want to check. PingKit will test each port and tell you whether it's open, closed, or filtered, along with the service name associated with each open port.

Quick scan: If you just need to check one specific port, PingKit lets you scan a single port for an instant result. For a broader picture, scan common ports (the top 100 or 1000) to see everything that's running on a host.

What the results mean

Common Scenarios

Checking if your server is accessible

If you're running a web server, game server, or any other service, you need to make sure the port is reachable from outside your network. Scan the port from your phone's cellular connection (turn off WiFi) to test from an external perspective. If the port shows as filtered, you likely need to set up port forwarding on your router.

Verifying a firewall is working

After configuring firewall rules, scan the relevant ports to confirm they're actually blocked. A port that should be closed but shows as open means your firewall rules aren't applied correctly.

Troubleshooting connection issues

If an app can't connect to a service, scan the service's port to determine if it's a network issue (port filtered/closed) or an application issue (port open but app still can't connect). This saves a lot of time narrowing down where the problem is.

Port Scanning and Security

Every open port is a potential entry point for attackers. Good security practice means:

For home users: Use PingKit's Security Scan to check your router for commonly exploited open ports and get tailored recommendations based on your router model.

Port Forwarding

If you need a port to be accessible from outside your home network (e.g., for a game server or remote access), you'll need to set up port forwarding on your router. This tells your router to direct incoming traffic on a specific port to a specific device on your local network.

After setting up a port forward, use PingKit's Port Scanner from cellular data to verify it's working. If the port still shows as filtered, double-check that your ISP isn't blocking it — some ISPs block common ports like 80 and 25 on residential connections.

Related Articles

Scan Ports with PingKit

Check open ports, identify running services, and verify your firewall configuration from your iPhone.

Download PingKit