Determine which process opens a port?
In Linux, I would simply use:
netstat -a -p
but that does not work on OSX. I have scoured the man page and tried apropos and found nothing. Any ideas?
PowerBook G4 1.67 GHz Mac OS X (10.4.2)
In Linux, I would simply use:
netstat -a -p
but that does not work on OSX. I have scoured the man page and tried apropos and found nothing. Any ideas?
lsof -i :12345
I tried this already. When I run
netstat -an
I see:
tcp4 0 0 192.168.1.103.5000 . LISTEN
but lsof reports nothing.
The process is:
mDNSRespo 407 root 12u IPv4 0x01f90830 0t0 TCP 192.168.1.103:commplex-main (LISTEN)
I thought Bonjour worked on different ports and not the UPnP port.
Determine which process opens a port?