I have an app that doesn't properly stop listening on a port.
How do I force it to stop so I can open the application again/use that port again?
Yup - get TCPView from SysInternals, find the application and the connection, and close it. Failing that, restarting the application, unless the specific app has a way of doing this. Most apps won't.
If the application is running under unix,
will forcefully kill a process releasing all it's resources. The
can be found by doing a
at the command line.