Question: how to do an nmap port scan?
Answer: To get started, download and install Nmap from the nmap.org website and then launch a command prompt. Typing nmap [hostname] or nmap [ip_address] will initiate a default scan. A default scan uses 1000 common TCP ports and has Host Discovery enabled. Host Discovery performs a check to see if the host is online.