What is a port scan? The router log Tom never opened
Tom does the books for eleven small businesses from a spare room at home. One Tuesday his internet dropped twice before lunch, so he logged in to the router to restart it, and for the first time in four years he clicked the tab marked “Security log.”
It was full. Line after line, the same kind of entry: an address he didn’t recognise, then another, and next to them the words port scan detected. One address had tried dozens of different ports in under a minute.
Tom’s first thought was that somebody had found him. His second was the client files on his Windows 11 laptop. He phoned his cousin Leah, who looks after the network at a hospital, and read her the log.
She let him finish, then said, “Okay. Nobody’s in. Somebody knocked.”
What a port scan actually is
Leah explained it the way she explains it to new nurses. Every computer connected to the internet has thousands of numbered doors called ports. A web server answers on one number, remote desktop on another, file sharing on others. A port scan is simply someone knocking on a long row of those doors to see which ones answer. NIST’s glossary defines a port scan as sending requests to a range of port addresses on a machine, and that is all it is.
What comes back is the part that matters. The makers of Nmap, the best-known scanning tool, sort ports into states in their port scanning guide. “Closed” means nothing is listening. “Filtered” means a firewall stopped the knock before anything could answer. “Open” means a program is sitting behind that door taking connections, and in Nmap’s words, each open port is an avenue for attack.
“So the scan isn’t the break-in,” Tom said.
“It’s someone walking down the street trying every door handle. Most of them do it to every house on the street, all day. What you want to know is whether any of your doors opened.”
Where the knock came from matters most
Leah’s first question wasn’t about the ports at all. She asked Tom to read her the addresses again. They were all from outside, out on the internet, hitting the router. That is routine background noise for anything connected to the internet, and a home router with no ports forwarded turns nearly all of it away.
“If one of those addresses started with the same numbers as your own devices,” she said, “I’d drive over.” A scan coming from inside your own network means a device already on your wifi is doing the knocking. That could be a neighbour who got the password, or a machine that is already infected and looking for its next target. If you ever see that, find out who is connected to your wifi before anything else.
Checking which doors are open
Leah talked him through three checks while she ate her lunch.
First, the router’s port forwarding page. This is where a door gets deliberately propped open from the internet straight through to a computer inside. Tom’s had one rule he had forgotten about: remote desktop, pointed at an old PC he’d set up years ago so he could reach his files from a client’s office. The PC had since gone to the recycler. The rule was still there, forwarding a door to nowhere. He deleted it. Leah’s advice: if you don’t know why a forwarding rule exists, remove it.
Second, the firewall on the laptop itself. In the Windows Security app, under “Firewall & network protection,” the Microsoft Defender Firewall should read On for each network type. Microsoft warns that turning it off could make your device more vulnerable to unauthorized access, and that if one app is blocked you should allow that app through rather than switching the whole thing off. Tom’s was on. We have a step-by-step on how to check that Windows Firewall is on if you want to do the same.
Third, what the laptop itself is listening for. Leah had him open Command Prompt as administrator and type netstat -ano. Microsoft’s netstat reference explains the flags: -a lists the ports the computer is listening on, -n shows plain numbers, and -o adds the process ID you can match up in Task Manager. The lines marked LISTENING are the doors with something behind them. Tom’s list was short and every process on it was one he recognised.
Those three checks look from the inside. An open port checker looks from the outside, the way the scanner in Tom’s log saw him. Leah’s sister runs a small shop in Leeds, and in the UK she uses the NCSC’s free Check Your Cyber Security service. The UK’s National Cyber Security Centre built it for small businesses, charities, schools and sole traders. It needs no registration or download and runs remote, non-intrusive checks on your website and IP address, along with email and browser checks. In the US or anywhere else, an online open port checker run from home gives a similar outside view of your router. Either way, the answer you want is the same one Tom got: nothing open that you didn’t put there on purpose.
What to do if a port scan keeps coming back
Scans from the internet will never stop, and you don’t need to chase each one. Keep the firewall on, keep Windows updated so that anything that is listening has its security fixes, and keep port forwarding empty unless you have a reason you can say out loud. That handles almost all of it.
Tom wanted more than a router log he’d forget to open again, so he installed NetGuardian Pro on the laptop. It’s the Windows app we built, and when something probes many ports on the PC in quick succession it raises an alert saying so in plain words, with a one-click option to block the address. The first week it stayed quiet, which Leah said was the point.
If you want the wider picture of how scanning works against websites and servers too, read what web scans are and how they work. And if the scan came from inside your network, or you’re seeing other signs, go through how to check if your wifi or PC has been hacked.
Tom still opens the router log now and then. It’s still full of knocking. He just knows which doors are locked.
Sources
- NIST CSRC Glossary: port scan. Definition of a port scan (from CNSSI 4009-2022, derived from IETF RFC 4949).
- Nmap Reference Guide: Port Scanning Basics. Port states (open, closed, filtered) and why open ports are the security concern.
- Microsoft Support: Turn Microsoft Defender Firewall on or off. Where to check the firewall and why to keep it on.
- Microsoft Learn: netstat. What the -a, -n and -o options show.
- NCSC: Check Your Cyber Security. The UK National Cyber Security Centre’s free remote check for small organisations.
If it isn’t for you, there’s a 7-day refund window.
About the author. Published by Joel Papenfus, founder of NetGuardian and creator of NetGuardian Pro. The sources this post draws on are linked in the post. Reviewed and checked by Joel on 1 October 2026.
