← All tools

Netcat

Network Utility · Beginner

Read/write raw TCP/UDP connections for testing connectivity.

Knowledge reference only. Prefer in-browser Labs first. Use this tool only on systems you own or have written authorization to test.

What to learn

  • Listening vs connecting
  • Banner grabbing
  • Port connectivity tests

Legitimate use

Admins use it to test whether a port is reachable through a firewall.

Official docs →

Example commands (lab VMs only)

  • nc -lv 9000
    Listen on localhost port 9000
  • nc 127.0.0.1 9000
    Connect to your listener from another terminal