Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

On my Mac, I'm having trouble with a UDP port (500) that is "already in use", but it doesn't have an associated process anymore.

sudo netstat -na | grep "udp4.*\.500\>"

shows

udp4       0      0  192.168.50.181.500     *.*                               
udp4       0      0  192.168.29.166.500     *.*                               

But lsof doesn't show a process on port 500 (ie "sudo lsof -i:500 -P" reports nothing).

Note that I am using "sudo" for these calls, so it should show all resources.

How can I figure out how to unbind the resource attached to port 500 so I can use it again?

share|improve this question
    
And if you try sudo lsof -i@192.168.50.181:500 -P and sudo lsof -i@192.168.29.166:500 -P? –  jaume Nov 12 '12 at 8:06
    
@Jaume, blank result, while netstat still shows the ports. This is driving me nuts, it's making my vpn client not work. –  Chocohound Nov 12 '12 at 14:54
add comment

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.