Try netstat
Type the type the following from an elevated (admin) command prompt:
Windows: netstat -a -o -n -b
Linux: netstat -4 -6 -a -n -p
On Windows, -b
is to display the executable involved in creating each connection or listening port. See netstat --help
for a list of all options.
On Linux, -p
is the equivalent. Type man netstat
for more information.
Linux