how to find out which ports have servers in nmap code example Example: service version nmap sqitch nmap -sV HOST