Hi,
I issued a command 'nc -l 7000' on SystemRescueCD 3.7.
The listening port is different that what I specified.
Could anyone giving me a pointer?
[email protected] /root % nc -l 7000&
[email protected] /root % netstat -luntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:42602 0.0.0.0:* LISTEN 3299/nc
Thanks.
How to bind to fixed TCP port ( nc -l 7000) [solved]
Re: How to bind to fixed TCP port ( nc -l 7000)
The correct syntax is "nc -l -p 7000"
Gernot
Gernot
Re: How to bind to fixed TCP port ( nc -l 7000)
gernot wrote:The correct syntax is "nc -l -p 7000"
Gernot
It works. Thanks a lot.
I have been used "nc -l <port>" for long time. My bad. I should check the netcat usages.
Return to “Networking (except PXE booting)”
Who is online
Users browsing this forum: No registered users and 1 guest