run this command via the command line and it output the open ports:
nmap -sT -O localhost
If you found these notes of use, then please donate some small change for the coffee fund...thank you muchly x