How to find a machine that is listening to a particular port on a LAN using nmap?

StackOverflow https://stackoverflow.com/questions/17330601

  •  01-06-2022
  •  | 
  •  

Question

I just installed nmap (never used it before). I want to see which machine on the network is listening to port 1234. How can I do that using the GUI of nmap.

Was it helpful?

Solution 3

This worked for me

nmap -p 1234 -A -v 10.10.*.*

OTHER TIPS

nmap -v -A -p 1234 192.168.1.1-255 This command will scan your entire subnet

The officially supported (and included!) GUI for Nmap is Zenmap. It uses Profiles to choose common options, but the command line is clearly editable, as well. To get started, choose the Regular Scan profile, which removes the extra timing and scan mode arguments. Then, enter your target in the Target box. To scan a local network, you can use CIDR notation (e.g. 10.10.0.0/16) or octet ranges (e.g. 10.10.0-255.0-255).

To scan just one port, use the -p option with the port number. It is usually helpful to specify verbose output, too, with -v. Altogether, your command line will look something like this:

nmap -p 1234 -v 10.10.10.0/24

Then click the Scan button to begin scanning.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top