Tell me more ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

MBP ML (10.8.1):

I have a copy of apache httpd running on port 12000.

Yet, netstat -a | grep 12000 shows nothing. Adding -i does not help.

share|improve this question
How about netstat -an | grep LISTEN. I'm not sure if port 12000 is well-known as if so it will be displayed as its "name" rather than the port number with the -a flag. Also, if that doesn't work, you could try sudo lsof -i -P | grep LISTEN which will also give you the process name, pid and owner. – binarybob Sep 20 '12 at 7:44

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.