• You can also use the following from the command line :

    netstat -n -b

    You can then check the returned values for the executable you're interested in to see the port (or ports) being listened on.