How can I unbind a UDP port that has no entry in lsof?
Posted
by
Chocohound
on Super User
See other posts from Super User
or by Chocohound
Published on 2012-11-12T00:20:53Z
Indexed on
2012/11/12
17:05 UTC
Read the original article
Hit count: 291
On my Mac, I have a UDP port that is "already in use", but doesn't have an associated process:
sudo netstat -na | grep "udp.*\.500\>"
shows
udp4 0 0 192.168.50.181.500 *.*
udp4 0 0 192.168.29.166.500 *.*
sudo lsof
doesn't show a process on port 500 (ie sudo lsof -i:500 -P
reports nothing).
Note I'm using 'sudo' on both commands so it should show all processes. (rebooting works, but looking for something less disruptive)
How can I unbind port 500 so I can use it again?
© Super User or respective owner