diff --git a/pages/common/lsof.md b/pages/common/lsof.md index 815c6326e0..2d40516316 100644 --- a/pages/common/lsof.md +++ b/pages/common/lsof.md @@ -32,6 +32,6 @@ `lsof +D {{path/to/directory}}` -- Find the process that is listening on a local TCP port: +- Find the process that is listening on a local IPv6 TCP port and don't convert network or port numbers: -`lsof -iTCP:{{port}} -sTCP:LISTEN` +`lsof -i6TCP:{{port}} -sTCP:LISTEN -n -P`