5 ms·
No -p flag for netstat on Mac and -l has different purpose. Closest you can get is netstat -anv And then you need to filter for LISTEN. I'm sure there is a
by rpsw 4y ago
No -p flag for netstat on Mac and -l has different purpose. Closest you can get is
netstat -anv
And then you need to filter for LISTEN.
I'm sure there is a few ways to skin the cat, but on Mac the most equivalent to the ss command would probably be:
sudo lsof -iTCP:8000 -sTCP:LISTEN -n -P