Quick way to list programs using ports is

Quick way to list programs using IP ports on the local windows PC via command prompt is:

netstat -a -b

However, this can take a long time, using the netstat -abno method doesn't resolve names.

For GUI from the command prompt type resmon.exe and look at network tab under TCP connections.