Nessus is used to perform a vulnerability scan during a hacking attack. Zenmap GUI is used to do fingerprinting and port scanning.
It is for the Nmap Security Scanner.
In linux, issue the following command in the terminal.lsof -i TCP | fgrep LISTENOrdo a port scan using a port scanner like nmapex: nmap In Windows, you can do a port scan to get the list of open ports in your computer. For this use, nmap or zenmap (gui of nmap). There could be other ways but this is the one I have experience on.