[olug] JBoss port conflicts - how to resolve them?

Christopher Cashell topher-olug at zyp.org
Thu Aug 14 15:54:24 UTC 2008


On Thu, Aug 14, 2008 at 10:05 AM, Chris St. Pierre
<stpierre at nebrwesleyan.edu> wrote:
> For future reference, 'netstat -tnlp' (or -unlp for UDP) rocks for
> this sort of thing.

[Snip: netstat example.]

Another option that I tend to use a lot for this is lsof:

# lsof -i :8009
COMMAND PID  USER   FD   TYPE  DEVICE SIZE NODE NAME
java    604 jboss   39u  IPv4 6920501       TCP *:8009 (LISTEN)

Basically the same result, just a different way of getting it. ;-)

> Chris St. Pierre

-- 
Christopher



More information about the OLUG mailing list