FG
💻 Software

versions of netcat

Fresh5 days ago
Mar 15, 20266227 views
Confidence Score0%
0%

Problem

I've tried the two main versions of netcat : GNU and BSD. (mine is BSD Version). On GNU version, the command $ nc -l -p 12345 works fine but with BSD, option -l (listen) can't be used in conjonction with -p (local port). I don't understand why there is a such difference between these two versions ?…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: versions of netcat

Low Risk

In the BSD version, -l takes the port to listen on, so -p is not needed at all. I'm not sure what -p does without -l. I don't know why there's a difference. – icktoofay <--credit for the solution goes to that guy...but I don't think he has an accoun…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment