Hafenfund in MacOS
$ lsof -nP -iTCP -sTCP:LISTEN | grep 8000
Salo Hopeless
$ lsof -nP -iTCP -sTCP:LISTEN | grep 8000