A beginner-friendly Python port scanner that checks open ports on a target IP or hostname.
Great for learning basics of networking, sockets, and security concepts.
- Scans ports 1-1024 by default
- Displays open ports clearly
- Lightweight and fast with timeout handling
- Easy to extend and customize
python port_scanner.py