Cool Tools Part IX: CurrPorts
I ran into a problem recently where my Automation Server wasn’t starting up. Checking the logs, it showed that something was already running on port 7777. Sure, it’s easy enough to change the automation server port (hint: it’s in serverconfig.xml), but Automation Server used to run on this server, so I needed to find out what other application was using the port.
While the embedded app servers in most ALUI products use pretty unique numbers, apparently Plumtree’s random number generator has gotten much better since the default automation server port was originally set at port 7777.
Occasionally port conflicts like this will bite you, and while a “netstat -a” will give you a bunch of information about ports and what they’re doing, they don’t tell you much about the applications holding them.
Enter NirSoft’s CurrPorts. It’s a great little freeware application that gives you much more information about the ports that are in use, how long they’ve been that way, and the processes and users holding them:

This certainly isn’t a tool you’ll use on a daily basis, but the next time you have a port conflict, you’ll be glad it’s in your arsenal.