HTG Explains: What is Port Scanning?

A port scan is a bit like jiggling a bunch of doorknobs to see which doors are locked. The scanner learns which ports on a router or firewall are open, and can use this information to find a computer system’s potential weaknesses.