# lsof -i :8000 | grep LISTEN # netstat -an | grep 8000 | grep LISTEN tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN #