A scan alone is not an attack
Scanning a port only reveals whether it is open -- it does not, by itself, break into anything or cause damage. The real risk comes afterward, if the scan uncovers a genuinely vulnerable service that then becomes the next target.
Scanning networks you do not own or manage can be illegal
This guide is general technical information, not legal advice -- scanning laws vary by jurisdiction, and running scans against systems or networks you do not own or have explicit permission to test can violate acceptable-use policies or the law in many places. Only scan infrastructure you control or are authorized to assess.
Frequently Asked Questions
Is it immediately dangerous if my computer gets port-scanned?
The scan itself is just information gathering and does not cause harm on its own. It only becomes a real concern if the scan reveals a genuinely vulnerable service or a port that was left open unnecessarily, since that can invite a follow-up attack.
Are home routers actually targeted by port scans?
Yes -- any device reachable at a public IP address on the internet can be scanned, and home connections are no exception. It is worth periodically checking for port-forwarding rules or UPnP-opened ports you no longer actually need.