Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

Netcat test open port

nc -zv 192.168.1.15 22

In the command above, the flag:

  1. -z – sets nc to simply scan for listening daemons, without actually sending any data to them.
  2. -v – enables verbose mode.

Passing -u you can test udp port.

Using Netcat for File Transfers

Receiver

nc -l -p 3334 > file

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

will begin listening on port 3334.

Sender

nc -w 3 [IP_of_destination] 3334 < file

Compression can be used too

Reciver

nc -l -p 3334 | uncompress -c | tar xvfp -

Sender

tar cfp - /some/dir | compress -c | nc -w 3 [IP_of_destination] 3334