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.
|
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. |
|||
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-aflag. Also, if that doesn't work, you could trysudo lsof -i -P | grep LISTENwhich will also give you the process name, pid and owner. – binarybob Sep 20 '12 at 7:44