How do i scan a port range with nmap?
saolasosme last edited by
Quote from the nmap man page:
While Nmap is commonly used for security audits, many systems and network administrators find it useful for routine tasks such as network inventory, managing service upgrade schedules, and monitoring host or service uptime.
The command to scan a port range using nmap is:
$ nmap -p 1-200 localhost Starting Nmap 6.40 ( http://nmap.org ) at 2017-03-12 09:34 BST Nmap scan report for localhost (127.0.0.1) Host is up (0.00072s latency). Other addresses for localhost (not scanned): 127.0.0.1 Not shown: 197 closed ports PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 111/tcp open rpcbind Nmap done: 1 IP address (1 host up) scanned in 0.03 seconds
© Lightnetics 2018