Not entirely sure what you are asking....

At the command line type: netstat -an

Or you can download Active Ports