Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is anybody else not able to get nc -lp 8888 working on Mac OS X? Is there another way to get this to work?

share|improve this question
How does it not work? Does it return an error? – heavyd Mar 3 '10 at 1:58
I am not near a mac right now, but it returns the useage. nc -lp 8888 works on my Ubuntu box. – kzh Mar 3 '10 at 15:50

1 Answer

up vote 8 down vote accepted

It looks to me as if the -p option does nothing on the OS X version of netcat. To get it to work, I must do nc -l localhost 8888.

share|improve this answer
1  
Unless installed from homebrew, then nc -l -p 8888 works. – user1338062 Dec 3 '12 at 13:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.