In the article concerning nmap, mention is made of netstat to list the daemons (system processes) that are actively listening on ports.
Another useful tool for this purpose is the lsof (list open files) tool, used in the format:
#lsof | grep LISTEN
This gives another list that is quite useful – it helped me rid a system of the li0n worm last spring.