Network Tools

Port Checker

Check whether a single public TCP port accepts connections.

A port check tells you whether a program on a host accepts connections on one TCP port. This tool opens a single TCP connection from the IP Tracker server to the host and port you enter, records what happened and closes the connection again.

The check comes from the public internet, so the result shows whether the port can be reached from outside the network the host sits in. That is the question to answer after you set up port forwarding on a router, add a firewall rule or start a new server.

How to check a port

  1. Type the host into the field: a domain such as example.com or a public IP address. To test your own connection from outside, enter your public address, which What Is My IP shows.
  2. Enter the port number in the TCP port field. Any number from 1 to 65535 is accepted. The field starts at 443, the port for HTTPS.
  3. Click Lookup. The server tries to connect and waits up to 4 seconds.
  4. Read the Status row. It says "open", "closed or filtered" or "timeout".

Each run tests one port. To test a second port, change the number and run the check again.

What a port is

An IP address identifies a machine on a network. A port number identifies one program on that machine. A server can run a website, a mail service and a remote login service on the same address because each one listens on its own port, and every incoming connection names the port it wants.

Port numbers run from 0 to 65535. By convention the numbers below 1024 belong to well-known services, which is why a browser uses 443 for an https:// address without being told. A service can be set up to listen on any port, though, so the number is a convention and not a guarantee of what is behind it.

TCP, the Transmission Control Protocol, is the protocol most of these services use. A TCP connection starts with a short exchange called a handshake: the client asks to connect, the server agrees and the client confirms. This tool performs that handshake and nothing more. It sends no data and reads none.

PortServiceUsed for
22SSHRemote login to servers and secure file transfer
25SMTPMail delivery between mail servers
53DNSName lookups, mostly over UDP, which this tool does not test
80HTTPWebsites without encryption
443HTTPSWebsites with encryption
587Mail submissionSending mail from an email program to a provider
993IMAP over TLSReading mail over an encrypted connection
3306MySQLDatabase connections
3389Remote DesktopRemote control of Windows computers
5432PostgreSQLDatabase connections

How to read the result

RowWhat it shows
TargetThe host you entered
AddressThe IP address the connection was sent to
PortThe port number that was tested
Status"open", "closed or filtered" or "timeout"
Response timeHow long the attempt took, in milliseconds
MethodTCP connection

A status of "open" means the handshake completed. Some program accepted the connection on that port. For an open port, the response time is roughly one network round trip between the IP Tracker server and the host.

A status of "closed or filtered" means the attempt ended with an error before the waiting time was over. The usual cause is a refusal: the machine is reachable, but no program listens on that port, so its operating system rejects the connection at once. A firewall that actively rejects connections produces the same status, and one attempt cannot tell the two apart.

A status of "timeout" means nothing came back within 4 seconds. Firewalls that silently drop unwanted packets cause this. So does a host that is switched off, or an address that nothing uses. In firewall terms such a port is filtered: the request disappears without an answer.

Why a port is open locally but closed from outside

A service that answers on the machine itself, or from another device on the same network, can still be unreachable from the internet. A connection from outside has to pass several points, and each of them can stop it.

  • A home or office router shares one public address among many devices. It drops incoming connections unless a port forwarding rule says which device should receive them. The rule has to name the right internal address, and that address must not change afterwards.
  • A firewall on the machine blocks the port. Cloud servers usually have a second firewall at the provider, often called a security group, which has to allow the port as well.
  • The internet provider blocks the port. Port 25 is often blocked on home connections to limit spam, and some providers block other server ports on residential plans.
  • The provider uses carrier-grade NAT. Many customers then share one public address, and port forwarding on your own router cannot work. If the WAN address shown in your router differs from the address What Is My IP reports, this is a likely reason.
  • The service listens only on localhost. A program bound to 127.0.0.1 accepts connections from the same machine and from nowhere else. It has to listen on the machine's network address, or on all addresses (often written 0.0.0.0).
  • The public address changed. Many home connections get a new address from time to time, so a check against last week's address may test somebody else's connection.

Checks worth running after a change

  • After setting up port forwarding for a game server, a camera or a home server, check the forwarded port on your public address. A status of "open" means the path from the internet to the device works.
  • After starting a new web server, check 80 and 443. If 80 is open and 443 is not, the HTTPS side is not listening or the firewall allows only one of the two.
  • After moving email, check port 25 on the mail server named in the MX record. MX Lookup lists that server.
  • After locking down a server, check that database ports such as 3306 and 5432 are not open from outside. A database that the whole internet can connect to is a risk you normally want to remove.
  • Before you move SSH to another port and close your session, check that the new port is open.

When a web port is open, the next checks are HTTP Status for the response the site returns and SSL Checker for its certificate.

What this tool does not do

It checks one port per run. It is not a port scanner: it does not accept ranges or lists of ports, and it does not search a host for open ports.

It tests TCP only. Services that use UDP, such as most DNS traffic and many games and voice applications, cannot be tested here.

It does not identify the program behind an open port. Open means that something accepted the connection. Whether that something is the service you expect, and whether it works, needs a test in the protocol of that service.

The result is the view from the IP Tracker server. A host that admits only certain source addresses shows "closed or filtered" or "timeout" here, while it works for the addresses on its list. When a name has several IP addresses, the check goes to one of them, and the Address row shows which.

Only public destinations are accepted. Addresses such as 192.168.1.10 or 10.0.0.5 are refused, so a device inside your network is tested through your public address and a forwarding rule.

Check only systems that you own or have permission to test. Each visitor can run 15 lookups a minute, and IP Tracker keeps no history of the hosts you check.

Frequently asked questions

What is the difference between a closed port and a filtered port?

A closed port answers with a refusal. The host is reachable and tells the sender that nothing listens there. A filtered port gives no usable answer, because a firewall drops or rejects the request before it reaches a program.

In this tool a refusal shows as "closed or filtered", and silence shows as "timeout".

Why does my port show closed when the program is running?

The program is probably reachable on the machine but not from the internet. Check four things in order: that the program listens on the network address and not only on 127.0.0.1, that the firewall on the machine allows the port, that the router forwards the port to the right device, and that your provider does not block it.

Also confirm that you tested your current public address. What Is My IP shows it.

How do I test whether port forwarding works?

Start the program that should receive the connections, because a forwarded port with nothing listening behind it does not show as open. Then enter your public IP address and the forwarded port here.

A status of "open" confirms the whole path: provider, router, firewall and program.

Can I check a UDP port?

No. The tool opens a TCP connection, and UDP has no handshake to complete. A UDP service answers only when it receives a request it understands, so testing one needs a client for that particular service.

Can I scan all ports of a host?

No. Each run checks the one port you enter. The tool is meant for confirming a port you already know about, on a system you are responsible for.

Does an open port mean the service is working?

It means a program accepted a TCP connection on that port. The service can still fail at the next step, for example with an expired certificate or an application error.

For a website, follow up with HTTP Status to see the response code and SSL Checker to see the certificate.

Can I check a port on a device in my local network?

Not by its local address. Private addresses such as 192.168.x.x are not reachable from the internet and are refused. Enter your public IP address and the port you forwarded to the device instead.

Is it a problem to have open ports?

An open port is how any service is offered, so a web server needs 80 and 443 open. The risk comes from the program behind the port: what it allows, and whether it is kept up to date.

Keep open only the ports you use, and limit administrative services such as SSH, Remote Desktop and databases to the addresses that need them.