Netcat is your friend here.
nc -l localhost 10000 > log.txt
Netcat will listen for a connection on port 10000, redirect anything received to log.txt.
Netcat is your friend here.
nc -l localhost 10000 > log.txt
Netcat will listen for a connection on port 10000, redirect anything received to log.txt.