A lightweight web-based TCP port scanner built with Python, Flask, HTML, CSS, and JavaScript.
Enter an IPv4 address and NetScan checks a focused list of common TCP ports, then displays which ports are open and the commonly associated service.
git clone https://github.com/btwsalts/net-scan.git
cd net-scan
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python3 app.py
Open http://127.0.0.1:5000.
21, 22, 23, 25, 53, 80, 110, 139, 143, 443, 445, 3306, 3389, 5432, 5900, 8080.
Browser → Flask API → Python TCP scanner → Target → JSON results → Browser
Only scan systems you own or have explicit permission to test. This project is intended for learning, home labs, and authorized security testing.