I had better luck with
nc -l 4444
, without the -p
. According to man nc
, -p
is explicitly forbidden in combination with -l
. Otherwise this is a fantastic solution and just what I needed :)