Inspect the local target
Read the sample open ports on the training localhost.
nmap localhostLearn Nmap network discovery online using a training target. Read port states and service information, then continue with authorized network-scanning labs.
Start here
Load a task into the terminal, then press Enter to see the result. Each example works in the introductory session on this page.
Read the sample open ports on the training localhost.
nmap localhostLimit the exercise to the training HTTP port.
nmap -p 80 localhostRead service labels for the sample target.
nmap -sV localhostPractice host discovery without scanning ports.
nmap -sn localhostLimit the sample scan to SSH and HTTP.
nmap -p 22,80 localhostLearn the difference between a closed port and the open sample HTTP port.
nmap -p 443 localhostInspect the sample scanner version.
nmap --versionPractice the option that disables reverse DNS lookup.
nmap -n localhostNo setup needed
Learn Nmap network discovery online using a training target. Read port states and service information, then continue with authorized network-scanning labs.
Start with the short command exercises above. When you are ready for a project, open the linked LabEx lab to work with real tools in an online Linux environment, with step-by-step guidance and immediate feedback.
Keep learning
Build on your Nmap experiments with a structured skill tree. Explore the skills, choose a guided lab, and practice each concept in an online environment.
Learn host discovery, port scanning, and service identification. Run hands-on scans in the linked lab against its training targets and inspect the results.
The introductory exercises are free. Sign in for a complete LabEx environment; session duration and resources depend on your lab and plan.
No local installation is required. Sign in and open the lab in a modern browser. Follow the lab instructions to configure software inside the environment.
This preview supports a limited command set. Sign in and launch the Nmap lab for more commands, packages and services. Available software and permissions depend on the selected lab.
Follow the Nmap Skill Tree for guided labs and challenges. Practice regularly, inspect command output and ask Labby for help.
Your next step
Continue with real tools, guided labs, and Labby assistance.