Why you need to know which ports are open on your router

An open port is a doorway into your network from the internet. When you set up port forwarding to run a game server or access your home security camera remotely, you deliberately open a port. But open ports also attract automated scans from people looking for unpatched software or weak passwords. Checking which ports are actually open tells you whether your router is exposing something you did not intend to expose — and whether the ports you did open are still necessary.

Most home routers have a firewall that blocks incoming connections by default. Port forwarding rules override that protection for specific ports. If you set up port forwarding months ago and forgot about it, that port is still open and still listening. Checking your ports regularly is how you catch those forgotten rules before they become a problem.

Key Takeaways

  • Your router's admin panel shows which ports you have forwarded, but does not show whether those ports are actually reachable from outside your network.
  • Online port-checking tools scan your public IP address from the internet and report which ports respond, giving you the outside view of your network.
  • A port can appear open in your router settings but closed to the outside world if your ISP blocks it, or closed in your settings but open if malware has changed your configuration.
  • The most useful check is comparing what your router says is forwarded against what an external port scanner finds — the gap between them shows what has changed.

Check your router's port forwarding rules first

Start by logging into your router's admin panel to see what ports you have deliberately opened. Open a web browser and type 192.168.1.1 or 192.168.0.1 into the address bar. If neither works, look on the back of your router for a label with the admin address. You will need the router's password — if you have never changed it, check the label on the router or the manual that came with it.

Once you are logged in, look for a section called Port Forwarding, Port Mapping, or Virtual Server. The exact name varies by router brand. Write down every port number listed there, along with the internal IP address it points to. This list is what you intended to open. If you see a port you do not recognize, that is a sign something changed without your knowledge — either you forgot about it, or something else modified your router.

Do not assume this list is complete. Malware or an attacker with your router password could add port forwarding rules you never see in the normal admin panel. For that reason, you also need to check from outside your network.

Scan your ports from the internet using an online tool

An online port scanner checks your network from the outside, the way an attacker would. It connects to your public IP address and tries to reach each port, then reports which ones respond. This shows you what is actually visible from the internet, not just what your router settings say.

Go to canyouseeme.org or portchecker.co in a web browser. These tools are free and do not require you to read anything. Enter a port number — start with one you know you forwarded — and click the button to scan. The tool will tell you whether that port is open or closed. Repeat for each port in your router's port forwarding list.

If a port shows as closed when you expected it to be open, the problem could be your ISP blocking it, your router not actually forwarding it, or the service behind it not running. If a port shows as open when you did not forward it, something has changed your router configuration without your permission.

Understand what "open" and "closed" actually mean

When a port scanner says a port is open, it means something on your network responded to a connection attempt. That something is usually the service you forwarded the port to — a game server, a camera app, a file server. An open port does not automatically mean you are hacked; it means the port is doing what you told it to do.

A closed port means nothing responded. This is the normal, safe state for ports you have not forwarded. Some routers also report a port as "filtered" or "stealth", which means the router actively rejected the connection attempt rather than ignoring it. Filtered is actually slightly better than closed, because it tells an attacker your router is there without revealing what is behind it.

The risk comes when a port is open to a service with a known vulnerability, or open to a service you no longer use. An open port to an old webcam app, a game server you shut down months ago, or a file-sharing tool you forgot about is a port an attacker can probe for weaknesses.

Check for ports your ISP might be blocking

Some internet service providers block certain ports to reduce spam and malware. The most commonly blocked ports are 25, 587, and 465 (used for sending email) and 80 and 443 (used for web traffic). If you are trying to forward port 80 or 443 and an external scan shows it as closed, your ISP may be blocking it.

You can work around ISP blocking by forwarding to a different port number. Instead of forwarding port 80, forward port 8080 or 8888. Instead of port 443, try 8443. Your router will accept traffic on the alternate port and send it to the service you specified. This does not make your network less find — it just moves the port to one your ISP allows.

If you are not sure whether your ISP is blocking a port, contact their support line and ask directly. They can tell you which ports they block and whether you can request an exception.

Compare your router settings against your scan results

The most useful security check is a comparison: list every port your router says it is forwarding, then scan each one from outside. If the lists match, your configuration is doing what you intended. If they do not match, something needs investigation.

Router says forwardedExternal scan showsWhat it probably means
Port 8080 → 192.168.1.50Port 8080 openWorking as intended. The service is running and reachable.
Port 8080 → 192.168.1.50Port 8080 closedThe service is not running, the internal IP changed, or your ISP is blocking it.
Nothing forwardedPort 22 openEither you forgot you forwarded it, or something else added the rule.
Port 3389 → 192.168.1.100Port 3389 closedThe computer at that IP is off, or the Remote Desktop service is not running.

What to do if you find unexpected open ports

If an external scan finds a port open that you did not forward, log back into your router and check the port forwarding section again. Look for any rule you do not recognize. If you find one, delete it. If you do not find it in the normal admin panel, your router may have been compromised — change your router password when ready, then restart the router by unplugging it for 30 seconds.

After you restart, scan again. If the unexpected port is still open, contact your router manufacturer's support line or your ISP. An open port that persists after a restart and a password change suggests either a hardware problem or a deeper compromise.

If you find a port that should be open but the scan shows it as closed, first check that the service behind it is actually running. If you forwarded port 8080 to a game server, make sure the game server software is started on that computer. If the service is running and the port still shows closed, restart your router and try the scan again.

How often to check your ports

Check your open ports at least once every few months, or whenever you set up a new port forwarding rule. A quick scan takes five minutes and can catch a forgotten rule or an unexpected change. If you run services that need to be accessible from outside your home — a security camera, a file server, a game server — check once a month.

You do not need to check every port number that exists. Focus on the ports you have forwarded, plus a few common ones that attackers often probe: ports 22 (SSH), 3389 (Remote Desktop), 445 (file sharing), and 5900 (VNC). If those show as closed and you did not forward them, your router is doing its job.

Frequently Asked Questions

What is my public IP address?

Your public IP is the address the internet sees when you connect to a website. You can find it by going to whatismyipaddress.com or ipchicken.com in a web browser. This is the address that online port scanners use to check your network. Your public IP may change if your ISP assigns it dynamically, which is why some people set up a dynamic DNS service to keep track of it.

Is it dangerous to use an online port scanner?

Online port scanners are safe to use. They only send connection requests to your public IP address — the same requests an attacker could send. They do not install anything, do not access your files, and do not change your router settings. The scanner straightforward reports whether each port responds or not.

Can I check my ports without going to a website?

Yes, if you are comfortable with command-line tools. On Windows, you can use Test-NetConnection -ComputerName [your public IP] -Port [port number] in PowerShell. On Mac or Linux, use nc -zv [your public IP] [port number] in Terminal. Both tools work the same way as the online scanners — they try to connect and report whether the port responds.

What if I do not remember setting up port forwarding?

Check your router's port forwarding list anyway. If you see rules you do not recognize, delete them. If you are not sure whether a rule is yours, write down the port number and the internal IP it points to, then ask yourself: do I have a service running on that computer that needs outside access? If the answer is no, delete the rule.

Does checking my ports slow down my internet?

No. A port scan sends a small number of connection requests and takes a few seconds. It does not affect your internet speed or your network performance. You can run a port scan while you are using the internet normally.