[Live-demo] Testing ports in use

Alex Mandel tech_dev at wildintellect.com
Sun Aug 21 10:08:49 PDT 2011


Since Hamish asked on IRC and I thought it would be useful to others:
sudo netstat -lptn will list what ports are in use by what application
and what address they are listening on.
For some apps however you will only see java or python listed.
This is really useful for seeing if an application is already running on
the port before launching something else that might use the same port.

Enjoy,
Alex



More information about the Osgeolive mailing list