Run the command "netstat -ab" in an elevated Command Prompt, PowerShell, or Terminal window to see a list of applications and their associated ports. Checking open ports can be done using built-in ...
Like stuff Scripter kiddies use? What OS does it need to run on? Most linux distros come with nmap installed, and you can pretty much do whatever you want with it from there.